Quicklink workflow issue

Which IIQ version are you inquiring about?

[Replace this text with your version of IIQ. The more specific you can be (7.1, 8.3, 8.X), the more people can help. If you do not know, put Unsure.]

IIQ 8.2

Please share any images or screenshots, if relevant.

[Please insert images here, otherwise delete this section]

Please share any other relevant files that may be required (for example, logs).

[Please insert files here, otherwise delete this section]

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

I have created a custom quicklink workflow to create contract employees, when first time accessing it, it is working as expected but from the same session I have tried creating another user, the form is not getting loaded. If I restart the server and try it is working as expected

Hi @KarunaBNP ,

If possible, could you share quicklink and workflow xml

Workflow_CustomCreateUserWorkflow.xml (9.4 KB)

Quicklink_IdentityCreation.xml (826 Bytes)

can you remove this variable from the quicklink workflow and try ??

<Variable initializer="true" name="transient"/>

@KarunaBNP I tried it creating 3 users in the same session it is working for me and i can see approvals are created. Could you please try this in incognito mode, not sure if any issues with your browser.

@KarunaBNP please remove input=”true”, this is within the workflow. try and see if that works ?

<Variable name="employeeType">
    <Description>Type of Employee</Description>
  </Variable>
  <Variable name="manager">
    <Description>Manager of the User</Description>
  </Variable>
  <Variable name="lastname">
    <Description>LastName of the user</Description>
  </Variable>
  <Variable name="firstname">
    <Description>FirstName of the User</Description>
  </Variable>
  <Variable name="uid">
    <Description>UserID from Form</Description>
  </Variable>

and

import sailpoint.object.Identity;

        String UID = workflow.get("uid");
        String firstName = workflow.get("firstname");
        String lastName = workflow.get("lastname");
        String empType = workflow.get("employeeType");

        Identity identity = new Identity();
        identity.setName(UID);
        identity.setFirstname(firstName);
        identity.setLastname(lastName);
        identity.setDisplayName(firstName + " " + lastName);
        identity.setAttribute("employeeType", empType);

        Identity managerID = context.getObjectByName(Identity.class,manager);
        identity.setManager(managerID);
        identity.setInactive(false);

        context.saveObject(identity);
        context.commitTransaction();
        context.decache(identity); // Optional but good practice

Hi @KarunaBNP, did you try the suggestions from Naveen and Pravin? Let us know if the issue still persists.