We have developed a custom form for identity creation and the approval needs to go to a System Admin user. I am passing the name of the approver to approval set, but still approval is not going to the approver. Attached is the workflow.. Can anyone help what went wrong service account workflow.txt (5.9 KB)
<Variable initializer="owner" input="true" name="approvalScheme">
<Description>
A csv string that specifies how approval items should be generated
for the incoming request.
The value can be "none", in which case approvals are disabled.
The value can also be a combination of any of the values below
in any order, separated by commas. The order in which they are
specified is the order in which they are processed:
owner
The object owner gets the approval item.
For Role approvals this is the Role object owner.
For Entitlement approvals this is the Entitlement object owner.
manager
The manager gets the approval item.
securityOfficer
The identity in the variable securityOfficerName gets the approval item.
identity
The identities/workgroups in the variable approvingIdentities get the approval item.
</Description>
</Variable>
Tried updating approvalScheme to identity and have put the name of approver in approvingIdentities variable. But still the issue persists. service account workflow.txt (5.9 KB)
You will these details in LCM Create and Update workflow. let me know if that works or you tried already ?
Also, is there any reason you put below step after lcm create and update ? approvers value you might need before calling the LCM Create and Update workflow.
You can set approvalScheme to securityOfficer and securityOfficerName to System Admin, and pass these parameters to the LCM Create and Update workflow.
This will generate an approval work item that gets assigned to the System Admin.
Please refer the workflow. Test_workflow.xml (5.8 KB)
.