The CreatorCon Call for Content is officially open! Get started here.

Workflow version is invalid with Critical Errors

CarolMa6
Tera Expert

Hi, 

 

I need help, the requirement is if business application "A" is selected then only one catalog task should be created and assigned to the "service desk". For all other applications, the flow should create two-catalog task as usual. Now I added 2 steps the "IF" and "Create a Catalog task" that assigns the request. 

 

 I added the below steps

  1. An "If" condition to check for Business Application "A"
  2. A "Create Catalog Task" step to assign the request to the Service Desk

Now error: This workflow contains 5 unattached transitions. 

 

CarolMa6_0-1751026384176.png

 

Regards 

CarolMa

 

9 REPLIES 9

rachelconstanti
Mega Sage

There is nothing connecting to the "set to in progress" set values at the beginning of your workflow.

Isela Phelps
Tera Guru
Tera Guru

The workflow is packed very tightly so I am unable to see the exact connections from each path. However, you do have the "Set to In Progress" unconnected. You have it connected to something after, but nothing at the beginning. There should be a path to it and from it.

 Screen Shot 2025-06-27 at 3.56.00 PM.png

Should it be set to "In Progress" after it is Approved? If it is, then place it between the Approval Action and the IF Statement. 

If you can enlarge the WF image, or separate the diagrams, we can help you pinpoint where there may be a connection missing. 





Want to connect? Follow me on LinkedIn

@Isela Phelps @rachelconstanti 

 

Appreciate the assistance. Something else popped up now the if statement always returning "no" how can i fix this: 

CarolMa6_0-1751284177300.png

used the script below: 

answer = ifScript();
function ifScript() {
var getVariable = current.variables.business_application.getDisplayValue();
gs.log("value is" + getVariable);
if (getVariable  == "yes")
{
gs.log("test");
       return 'yes';
}
else{
       return 'no';
}
}

@CarolMa6 

Rather than use the advanced section and a script, try using the condition section of the 'IF' activity properties.

Add a filter condition

Choose field - select variables; then select your catalog item, then the variable.  This will create the 'if' statement with a yes/no output - you then just need to connect the yes and the no.