Skip to main content

Hi -

I am calling get user details method of AD smartobject in workflow. User is not present in active directory and workflow in throwing an exception and getting stuck.

How to ignore the exception and move to next user? I want workflow to continue even there is an error as I know it is known error to me.

I am using k2 5.4, in previous versions it seem to be ignoring the error and working was moving on to next step.

You can choose to continue on error in the options then handle that with logic in the workflow further down the line.



 





Cheers


I wonder same option is not available for set variable step.

Can't you read the value into the variable in its own SmartObject call like above then immediately after check to see if the field has a value in a decision and action as appropriate?



 



If you are populating other values in the set variables step, then pull this check out into its own step.



 



Cheers


Reply