Endpoint API available only for GET Method to test developed Custom Workflows

Which IIQ version are you inquiring about?

Version 8.3

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

Is there any endpoint available to test a developed custom workflow only using GET method in Postman ?

I should receive the response in Postman using GET method only

there is not GET method to launch the workflow and receive the repose. if you want to launch the workflow then you have to use the POST method.

Hi @manikanda_vanguard
you may use LaunchedWorkflows Endpoint to launch a Workflow.

curl -L -X POST 'http://localhost:8080/identityiq/scim/v2/LaunchedWorkflows' \
-H 'Content-Type: application/scim+json' \
-H 'Accept: application/json' \
-H 'Authorization: Basic aWRlbnRpdHljbGFzc2VzOkFtaXQzMDA0QEBf' \
--data-raw '{
  "schemas": [
    [
      "urn:ietf:params:scim:schemas:sailpoint:1.0:LaunchedWorkflow",
      "urn:ietf:params:scim:schemas:sailpoint:1.0:TaskResult"
    ]
  ],
  "workflowName": "LCM Manage Passwords",
  "input": [
    {
      "key": "plan",
      "value": "<ProvisioningPlan>\n  <AccountRequest application=\"IIQ\" op=\"Modify\">\n    <Attributes>\n      <Map>\n        <entry key=\"attachmentConfigList\"/>\n        <entry key=\"attachments\"/>\n        <entry key=\"flow\" value=\"AccessRequest\"/>\n        <entry key=\"id\" value=\"c0a8019c8100148081810095445a0437\"/>\n        <entry key=\"interface\" value=\"LCM\"/>\n        <entry key=\"operation\" value=\"RoleAdd\"/>\n      </Map>\n    </Attributes>\n    <AttributeRequest assignmentId=\"b92d53be96e94b47bded399345236eb9\" name=\"assignedRoles\" op=\"Add\" value=\"Benefits Clerk\"/>\n  </AccountRequest>\n  <AccountRequest application=\"IIQ\" op=\"Modify\">\n    <Attributes>\n      <Map>\n        <entry key=\"attachmentConfigList\"/>\n        <entry key=\"attachments\"/>\n        <entry key=\"flow\" value=\"AccessRequest\"/>\n        <entry key=\"id\" value=\"c0a8019c810014808181009544650438\"/>\n        <entry key=\"interface\" value=\"LCM\"/>\n        <entry key=\"operation\" value=\"RoleAdd\"/>\n      </Map>\n    </Attributes>\n    <AttributeRequest assignmentId=\"e4ed87c2ad1f4f2cb13b35937ab1e78a\" name=\"assignedRoles\" op=\"Add\" value=\"Benefits Manager\"/>\n  </AccountRequest>\n  <Attributes>\n    <Map>\n      <entry key=\"identityRequestId\" value=\"0000000001\"/>\n      <entry key=\"requester\" value=\"spadmin\"/>\n      <entry key=\"source\" value=\"LCM\"/>\n    </Map>\n  </Attributes>\n  <ProvisioningTargets>\n    <ProvisioningTarget assignmentId=\"b92d53be96e94b47bded399345236eb9\" role=\"Benefits Clerk\">\n      <AccountSelection applicationId=\"c0a8019c81001480818100953c6c0362\" applicationName=\"Active_Directory\" roleName=\"Benefits Clerk - IT\" selection=\"237\">\n        <AccountInfo displayName=\"AdamKennedy\" nativeIdentity=\"237\"/>\n      </AccountSelection>\n    </ProvisioningTarget>\n    <ProvisioningTarget assignmentId=\"e4ed87c2ad1f4f2cb13b35937ab1e78a\" role=\"Benefits Manager\">\n      <AccountSelection applicationId=\"c0a8019c81001480818100953c6c0362\" applicationName=\"Active_Directory\" roleName=\"Benefits Clerk - IT\" selection=\"237\">\n        <AccountInfo displayName=\"AdamKennedy\" nativeIdentity=\"237\"/>\n      </AccountSelection>\n      <AccountSelection applicationId=\"c0a8019c81001480818100953c6c0362\" applicationName=\"Active_Directory\" roleName=\"Benefits Manager - IT\" selection=\"237\">\n        <AccountInfo displayName=\"AdamKennedy\" nativeIdentity=\"237\"/>\n      </AccountSelection>\n    </ProvisioningTarget>\n    <ProvisioningTarget assignmentId=\"ce66fb154b1e428eb72cd11a66a15164\" retain=\"true\" role=\"Payroll Analyst\">\n      <AccountSelection applicationId=\"c0a8019c81001480818100953c6c0362\" applicationName=\"Active_Directory\" roleName=\"Payroll General Access - IT\" selection=\"237\">\n        <AccountInfo displayName=\"AdamKennedy\" nativeIdentity=\"237\"/>\n      </AccountSelection>\n      <AccountSelection applicationId=\"c0a8019c81001480818100953e3e0373\" applicationName=\"Composite_ERP_Global_Platform\" selection=\"237\">\n        <AccountInfo displayName=\"AdamKennedy\" nativeIdentity=\"237\"/>\n      </AccountSelection>\n    </ProvisioningTarget>\n  </ProvisioningTargets>\n  <Requesters>\n    <Reference class=\"sailpoint.object.Identity\" id=\"c0a8019c8100148081810094e34d00ea\" name=\"spadmin\"/>\n  </Requesters>\n</ProvisioningPlan>\n",
      "type": "application/xml"
    }
  ]
}'

LaunchedWorkflow responses include attributes from the TaskResult related to the Workflow execution.

Mark it solved, If it helps

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