Skip to main content

Hello,

I have created a workflow that checks if a permission set is granted to the logged in user when they try to update a field in supplier window. If the permission set is not granted, the workflow should throw an error but I get below error message instead when running a watch,

 


Any idea why this is happening? I have attached the workflow for your reference.
 

Looks like your UserFound variable is not a string but a “treemap” (which is an array but with elements in order) 

So I would look into that direction? Can you show the debug before the gateway?

 

Hi,

It seems there is an incorrectly set variable in one of the end elements in loop. If you removed that you should be able to solve this issue. This is something that could potentially happen if you configured a task and later change that to another task type later. Its better to create a new task element instead if you are changing the task type of an element

 

 


Reply