Multiple choice technology packaged enterprise solutions

In a Utility, how do I set a Status that can be tested in the flow?

  1. Use a Java step

  2. Call History-Add

  3. Use the TaskStatus-Add method

  4. Use a Transition

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The TaskStatus-Add method is the specific API used in utilities to set a status field that can be tested later in the workflow flow. Java steps and Transitions are different workflow constructs, and History-Add is for audit trails, not status testing.

AI explanation

To set a status inside a Utility activity that can later be tested by a Decision or other shape in the flow, you call the status-setting method (referred to here as TaskStatus-Add) on the work object, which records the new status so downstream flow logic can branch on it. A plain Java step or a Transition doesn't persist a status value the flow can query, and History-Add only logs an audit entry rather than setting a testable status.