ISC Forms: Retrieving Identity ID from Display Name Select Field

Hi,
We’re currently working on an ISC form for managing phone numbers, which includes two fields:

  • Employee Name: A select field with search identities options using the “displayname” attribute.
  • Phone Number: A standard text field.

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.

Thanks in advance!

Hi @baoussounda ,

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.

I hope this should help.

Thanks,
Prashant

1 Like

Hi @PrashantMishra,

Thanks for your feedback.

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.

Thanks

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.

Thanks,
Prashant

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.

1 Like

Thanks @colin_mckibben and @PrashantMishra

With following configuration

When selecting identity display name are displayed but in Workflow, identity id is sended rather than dispaly name :
image

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.