Conditional branch of workflow

T_Izumi
Kilo Contributor
I added a conditional branch to the workflow,
It always goes through the "true" route without functioning
Is there any solution?
1 ACCEPTED SOLUTION

Hi,

It's little bit difficult to understand because of language.

Follow this steps:

1) Run your service catalog & check which workflow is actually running(Show workflow). 

2)Check your workflow should be in Publish state before executing service catalog.

3)Navigate to All context & check which workflow is running & if your workflow is in executing state then click on checkbox & in bottom you get option Action on selected row & click on Delete.

4)After compilation of above process run your service catalog again.

 

Kindly Mark Correct if this solves your issue and also mark Helpful if you find my response worthy!

Best Regards,

Vishakha

View solution in original post

7 REPLIES 7

Any update?

Slow reply, sorry
It was a question, but it was resolved.
The reason was that the conditions were not set properly.
Thank you for your answer.

Anil Shewale
Mega Guru

Hi 

Be careful how you are using true and 'true'. The first is a boolean and the second is a string. Either is valid as long as you are consistent. However if you set a variable   like this:

var myVar = 'true';

This does not evaluate to true

if (myVar == true)

or if you set it to

myVar = 'false';

then THIS actually resolves to TRUE!

 

if (myVar)

because it is just checking for a non-null string value.

 

If it help mark helpful or correct 

Thanks and regards

Anil