Step 7: Build a helper flow
- In the For Each card, click Choose Flow.
-
Click New Flow.
-
Name your helper flow
2a) Activate user, and then click Save. -
Click Add Event, and then select Helper Flow from the Okta Apps.
-
In the first field, enter
contractorRecord. Change the field type to Object. -
In the
contractorRecordsubfields, enteruserID,row,Row ID, andsuspendDate. -
Click .
-
In the If Error card, select Try.
-
In the If Error card, click+ (Add), and then select Okta.
-
ChooseActivate User.
-
In the Send Email field, select Yes.
-
Click Done.
-
Drag and drop the userID from the Helper Flow card to the ID or Login field on the .
-
In the If Error card, select Error.
-
In the If Error card, click .
-
Drag and drop the Error from the Error card to the message field of the Return Error card.
-
Save the helper flow.
