Close a resolved access order
Use “Close a resolved access order” in Recued. Owner-attended close for one access order stranded in needsowner - the state a fulfilment leaves behind when the customer access was issued but the claim-link email could not be delivered. Moves needsowner to complete and clears the order error code.
How it works
Inspect the data fetches, transforms, gates, and output this recipe runs.
Process (18 steps)
order_handle
trim
Trim whitespace from setting order handle
order_handle_prefix
starts_with
Check if order handle starts with oh_
input_valid
all
Check if all conditions are true
input_guard
guard
Stop if input valid equals
order_read
?
order_present
compare
Check if order read order exists
order_missing_guard
guard
Stop if order present equals
already_complete
compare
Check if order read order phase is one of complete
phase_closeable
compare
Check if order read order phase is one of needs_owner
phase_blocked
all
Check if all conditions are true
phase_guard
guard
Stop if phase blocked equals
customer_linked
compare
Check if order read order customer id exists
customer_blocked
all
Check if all conditions are true
customer_guard
guard
Stop if customer blocked equals
close_allowed
all
Check if all conditions are true
to_complete
?
skip: step.close_allowed equal false
close_outcome
ternary
Apply ternary
close_notice
template
Generate text from a template
Settings
Configurable at install. Defaults shown — change them anytime in Recued.
order handle
setting
=