Our goal is to retrieve the identity ID of the selected employee (based on their display name) directly within the form itself. This form is part of a workflow, and we need the identity ID rather than the display name when the form is submitted.
While we can search for the identity by display name in the workflow after form submission, there’s a risk of duplicates, which we want to avoid.
Has anyone encountered a similar situation and found a solution to directly obtain the identity ID from the select field within the ISC form?
Any insights or suggestions would be greatly appreciated.
As form submission is trigger in your current workflow with the employeeName field. In form you can choose the predefine option and include predefine values as identities.
During form submission you can create a get identity as an action and can use formDefinitionId which will contains the identities id by itself. Post that you can create the required steps as per your need.
As i say “While we can search for the identity by display name in the workflow after form submission, there’s a risk of duplicates, which we want to avoid.”, i looking a solution to submit form with identity id.
We already identified a solution for while retrieving identity from its displayname by using action “get identity” in workflow steps.
Hi @baoussounda ,
In case if you’re looking for an identity id then you should be able to select the identity id attribute itself in a form than displayName. But in that case you will only be able to see identity id’s unlike the names and reduces the risk.
There is an option to use a predefined object type in the select field. You can set this to “Identity”, and the dropdown will display identities by their display name. I haven’t tested to see what data is returned to the workflow, but the identity ID might be a part of it.