Question

Workflow Task Expression

  • 3 May 2023
  • 1 reply
  • 67 views

Userlevel 2
Badge +7

We have a requirement where we don’t want to generate a task when Parent Problem Item’s and it’s related Item’s responsible SVD is either VND WIPRO CM or VND WIPRO SD.

 

We are using below expression in workflow, but it is not working as expected. It is checking only Parent Problem Item’s Responsible SVD and not it’s related Item’s Responsible SVD.

 

combine($new.itemA.relations.relatedItem.servDept.shortCode,if($new.itemA.servDept.shortCode in ("VND WIPRO CM",”VND WIPRO SD”),$NO_VALUE,$new.itemA.servDept.shortCode))

 

Please help us in fixing this issue.


1 reply

Userlevel 3
Badge +8

I’m not 100%, but I thought the dynamic task expression needs to be a true/false value, so you almost want that combine query inside another if statement so you are generating out a true/false. As it looks like that combine will always generate a value which assyst may interpret as a “true”.

Reply