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.
HI team,
I have a customized LCM registration workflow wherein we are launching forms for setting MFA and password (2 different forms) and it works fine via New User Registration link provided on the login page.
However, I am trying to launch the same workflow from a Rule via workflower, it is able to launch the workflow but it stays at start step and is not able to render the from marked in the next step after start.
Below is code I am triggering to launch workflow-
String wfName = "LCM Registration";
Workflow workflow = (Workflow)context.getObjectByName(Workflow.class,wfName);
launchArgs.put("identityName","00012");
launchArgs.put("launcher","spadmin");
launchArgs.put("owner","spadmin");
launchArgs.put("workflow",workflow.getId());
WorkflowLaunch wfLaunch = new WorkflowLaunch();
log.error("worklfow name " +workflow);
if(null != workflow){
wfLaunch.setWorkflow(workflow);
wfLaunch.setWorkflowName(workflow.getName());
wfLaunch.setWorkflowRef(workflow.getName());
wfLaunch.setVariables(launchArgs);
wfLaunch.setCaseName("LCM Registration");
Workflower workflower = new Workflower(context);
WorkflowLaunch Launch = workflower.launch(wfLaunch);
}
return "WF launched successfully";
Below is LCM registration WF-
Step icon="Start" name="Start" posX="178" posY="126">
Script>
Source>
log.error("PRint inside workflow for lcm registeration launch via plugin ***************");
/Source>
/Script>
Transition to="MFA Mobile Number"/>
/Step>
Step name="MFA Mobile Number" posX="762" posY="126">
Approval name="MFA User" owner="ref:launcher">
Form name="MFA Mobile Number">
Attributes>
Map>
entry key="hideIncompleteFields">
value>
Boolean></Boolean>
/value>
/entry>
entry key="includeHiddenFields">
value>
Boolean></Boolean>
/value>
/entry>
entry key="pageTitle" value="Password Reset"/>
/Map>
/Attributes>
Section columns="2" label="Reset your password" name="PwdDetails">
Field columnSpan="1" displayName="Enter your password" name="password" required="true" type="string"/>
Field columnSpan="1" displayName="Re-Enter your password" name="cPassword" required="true" type="string"/>
/Section>
/Form>
/Approval>
Script>
Source>
log.error("PRint inside azure mfa step ");
</Source>
</Script>
<Transition to="Azure MFA"/>
</Step>
It is able to launch the first logger in the start step - PRint inside workflow for lcm registeration launch via plugin *************** but not able to print the logger in MFA Mobile number step.
Any help will be really appreciated!!