Questions tagged [approval-history]
The approval-history tag has no usage guidance.
24
questions
0
votes
0
answers
22
views
How to change Actual Approver value of an approval process from Apex
source:change-actual-approver-value-of-an-approval-process-from-apex
2
I have Visualforce page hosted on the force.com site. The user (or an approver) can approve/reject the request of certain custom ...
0
votes
0
answers
113
views
Want to fetch data from the approval history related list or approval process data into lwc or apex
Just wanted to fetch the approval history or approval process data into an lwc component to show the approval step's included in the approval process but wasn't able to do so.
tried to parse the ...
0
votes
1
answer
733
views
Approval History related list not showing
I'm logged in as an admin, and can't figure out why the Approval History related list isn't showing.
The approval process is on the correct custom object, and the page layout that contains the relates ...
0
votes
1
answer
121
views
query only recalled record for approval process
I have a requirement in which I need to query only those record which are recalled, is it possible for using query or through report.
0
votes
1
answer
2k
views
Capture Approval Comments
Is there any way to capture approval comments in an approval process and store them to a text field using any of the automations?
I have seen a way to do it using a trigger and call an approval ...
1
vote
1
answer
213
views
Unable to access processnode fields from processinstancestep
Require to processnode field data from processinstancestep.
While using query-
Select StepNodeId from processinstancestep
It is returning the values as expected
But while using query-
Select ...
0
votes
1
answer
549
views
Pull comments from approval history to customized report
I want to pull comments from the approval report history (only final approval). By default, Final_Approved__c is false. What I want is, if Final_Approved__c is true, the final comment will be ...
0
votes
1
answer
12k
views
How to simply call an Approval Process from Apex Class?
I have created an Approval Process on OSR__c object. Due to some sudden changes in the requirement, I need to call that approval process from an apex class. I saw the various posts regarding automatic ...
-1
votes
1
answer
5k
views
How to query to check to whom my record is assigned for approval?
How to query to check to whom my record is assigned for approval ? I mean, using query, can we find out actual approver, Assigned to and status as Pending....etc. that are already present in Approval ...
0
votes
1
answer
174
views
How to filter records with approval history
I'm trying to view records of a particular sObject with non-empty approval history. Is there a way to get it either from the UI or using SOQL?
1
vote
0
answers
966
views
Auto approve the step if the submitter is the approver
I got a requirement to auto approve a step if the approver in that step is the submitter of the Approval Process. But I dont see any Option to set like "Approve and go to Next Step" (Please suggest if ...
-2
votes
1
answer
697
views
I actually want Submitted date and Approved date for every step in the Approval Process
I am getting the Submitted Date from ProcessInstanceStep.CreatedDate but not being able to get the approved date for each step. CompletedDate date is giving the date for overall completion of the ...
0
votes
3
answers
488
views
When an approver is dynamically chosen on the base of a related field is possible to reassign the approval step through apex?
Suppose to have an approval process where the approver of a step is a related user designated through a custom field. If the value of the custom field is changed, all the records in this approval step ...
1
vote
1
answer
887
views
Case of no response on approvals
What flow would it be if user does not respond on approval/rejection request. I am creating a flow of approvals and rejections. What will happen to the flow when at some particular level user does not ...
1
vote
1
answer
1k
views
Actual Approver value populates before taking approval action
When a record is submitted for approval. Let's say this approval request is assigned to 3 users. The 'Actual Approver' column in Approval History is populated with the 3 assigned user's name before ...
0
votes
1
answer
841
views
Trying to get the approval step name into my approval email and pdf
I have a Visualforce Email Template that displays the approval history for an order. It uses a Visualforce component and apex class.
This is the code in the email template
<p><b>Approval ...
1
vote
0
answers
453
views
How to display Quote line items discount in Items to approve
I have a requirement to display discount in Items to approve,
Opportunity -------> Quote --------> Quote Line Item
Now, Opportunity have Approval history related list and i need to display Quote ...
1
vote
0
answers
422
views
Test Class for Process Instance History
I have a class containing the below part of code in it for the Approval Process. I have no clue on how to cover this in my Test Class.
for (ProcessInstanceHistory ps: qs.ProcessSteps) {
if (ps....
5
votes
1
answer
1k
views
Approval process within a VF page in lightning experience does not work
I have a VisualForce page working fine in SF Classic that contains the approval process related list with this code:
<apex:relatedList list="ProcessSteps" pageSize="3" />
When I switch to ...
4
votes
2
answers
1k
views
Ordering approval process history items by CreatedDate DESC doesn't give the correct order of execution
It seems to be a quirk of ordering SOQL queries by CreatedDate that, if the records were created in the same second, the order returned by the SOQL query doesn't reflect the order of execution, as ...
2
votes
0
answers
873
views
Change Actual Approver value of an approval process from apex
I have Visualforce page hosted on the force.com site. The user (or an approver) can approve/reject the request of certain custom object records using this page. The page shows him a comment box and ...
0
votes
1
answer
722
views
Is it possible to auto submit the approval once the filter citeria is met?
We have a new approval process with filter criteria set as opportunity discount greater than or equal to 2.0,Only then the submitter is allowed to submit the approval.Is it possible to auto submit the ...
2
votes
3
answers
5k
views
'Unlock' button in Salesforce Approval process?
Can someone please tell me the significance of 'Lock/Unlock' button in Approval process.
I was just trying to create an Approval process on a Custom object as part of testing and did a very basic ...
0
votes
1
answer
816
views
How to add Actual Approver in Approval History in Report?
Can someone please tell me how can i add Actual Approver in Approval History Report ?
Thanks in Advance..