We’re using a customized workflow to accept input from a SCIM request and trigger said workflow to create an identity and provision an Okta account. As the front end of the request portal is 100% removed from IIQ, I’m looking to do validation of the identity’s non-existence within my workflow. I’d like to create a conditional transition from the Start step into a “Message” step that simply adds a message to the workflow case and is returned in the API response. From there the workflow would transition to end. I’ve developed the conditional transition and the message step, but I currently have the workflow going from Start to Message to Stop, and when I run it with an existing identity’s info, it can’t complete because there is no work item.
Log error: “2021-04-13T10:34:00,565 ERROR http-nio-8080-exec-7 sailpoint.api.Workflower:3573 - Unable to create workflow task result
sailpoint.tools.GeneralException: Unable to create qualified task result: AA Logging Workflow”
Is there any way to exit out of the workflow without creating an identity request id or is there some simple variable I can create and set for this conditional flow to allow the workflow to simply end and return the message variable in the API response for the end system to read?