Solved

k2 workflow exception

  • 19 April 2022
  • 3 replies
  • 21 views

Userlevel 3
Badge +9

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.

icon

Best answer by paulk 20 April 2022, 15:34

View original

3 replies

Userlevel 3
Badge +9

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


 



Cheers

Userlevel 3
Badge +9
I wonder same option is not available for set variable step.
Userlevel 3
Badge +9

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