Skip to main content
Nintex Community Menu Bar
Solved

k2 workflow exception

  • April 19, 2022
  • 3 replies
  • 70 views

Forum|alt.badge.img+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.

Best answer by paulk

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

3 replies

Forum|alt.badge.img+9
  • Rookie
  • April 20, 2022

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

 

Cheers


Forum|alt.badge.img+9
  • Author
  • Scholar
  • April 20, 2022
I wonder same option is not available for set variable step.

Forum|alt.badge.img+9
  • Rookie
  • Answer
  • April 20, 2022

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