If condition on workflow not working

PRAGHATIESH S
Tera Expert

Hi,

I am doing the modifications on the OOB service catalog request workflow. I removed price and group approval part from that.

 

I created one catalog from the sc_cat_item table. Another one created from software model record using publish software to catalog.

 

Now I have a requirement like, we need to send the approval if REQ created from software catalog and if REQ created from normal catalog it's auto approved.

I am doing with if condition to check whether it's created from normal or software model before sending approval.

 

But somehow it's failing the if condition. Can anyone help here

4 REPLIES 4

Brad Bowman
Kilo Patron
Kilo Patron

What does your condition or script look like, and what are the results - always yes or always no, or is there an error?

Hi @Brad Bowman  

 

Condition is sourceable is true and sourced is false. This two conditions true means it should go to approval part. Actually it's always fail (No)

Ankur Bawiskar
Tera Patron
Tera Patron

@PRAGHATIESH S 

please share the script and the screenshots how you added and where

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@PRAGHATIESH S 

Would you mind closing your earlier questions by marking appropriate response as correct?

Members have invested their time and efforts in helping you.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader