How to generate dynamic form and set the values to show the form to the user

Which IIQ version are you inquiring about?

[SailPoint IIQ 8.3]

Share all details about your problem, including any error messages you may have received.

*[ Hi all,
I’m working on a QuickLink workflow in SailPoint IdentityIQ, and I want to generate a dynamic form .

My Questions:

  1. What is the correct way to dynamically generate a form and show it to the user during the workflow?
  2. How can I set values to the fields dynamically (from a script) and ensure they are displayed properly in the UI?
    ]*

In the workflow, add an approval step. Within this step, include the “workItemForm” and reference the appropriate form name, ensuring it is set as the form for the “workItemForm”.

Inside the form, create a hidden script like the example below for any field you want to hide.

<Field columnSpan="1" displayName="Other Company Name" dynamic="true" name="otherCompanyName" type="string">
      <Attributes>
        <Map>
          <entry key="hidden">
            <value>
              <Script>
                <Source><![CDATA[
                  import sailpoint.tools.Util;
                  if(Util.nullSafeEq(company,"Other")){
                  //field.setRequired(true);
                  return false;
                  }
                  return true;
                ]]></Source>
              </Script>
            </value>
          </entry>
        </Map>
      </Attributes>
    </Field>

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