Skip to main content

Await Review

Files a new item in the review inbox and pauses the workflow until a reviewer approves or rejects it. Route it to a person or a role, choose what happens when nobody answers in time, and read the decision from the output variable.

Category: Flow Control & Logic · Group: Flow Control · Activity name: AwaitReview

Example​

outputVariable = AwaitReview("<entity>", payload={}, assignee="<assignee>", assigneeRole="owner", allowSelfApproval=False, timeoutMinutes=0, escalateAfterMinutes=1440, onTimeout="fail")

Inputs​

NameTypeRequiredDefaultDescription
SubjectstringYesWhat the reviewer decides on, e.g. 'Payment #4711 (12,000 EUR)'.
ContextobjectDetails shown to the reviewer. Map each to a value or {{ expression }}.
AssigneestringUser id or email of the person who must answer. Leave empty to let anyone in the organization answer.
Minimum rolestringWhen no assignee is set, only members with at least this role may answer. One of: owner, admin, member.
Allow self-approvalbooleanFalseLet the person who started the run decide the item. Off by default, so a second person must decide.
TimeoutintegerSets the maximum time (in minutes) to wait for a decision. 0 or empty = wait until decided.
Escalate afterinteger1440Minutes without a decision before the item is escalated and the assignee, admins and owners are emailed.
On timeoutstringfailWhat to do when the timeout passes without a decision. One of: fail, reject, approve.

Outputs​

NameTypeDescription
outputVariableobjectStores the decision: reviewItemId, decision (approved/rejected), reason, decidedBy.