Step 6: Build a flow to activate users
- In the Workflows Console, click New Flow.
 - 
                                                                
Name your flow
1) Activate User on Activation Date, and then click Save. - 
                                                                
Click Add Event, and then select Schedule from the Okta apps.
 - 
                                                                
In the Flow Schedule window, set the Frequency to daily at midnight, and then click Save.
 - 
                                                                
Click .
 - 
                                                                
On the Search Rows card, click Choose Table, and then select your Contractor Access table.
 - 
                                                                
In the Result Set field, choose All matching rows.
 - 
                                                                
Click Done, and then be sure that all attributes are selected. Click Done.
 - 
                                                                
Click Filter, and then set the first condition to status with a value of
STAGED. - 
                                                                
Click Add Another, and set the condition to activation date
<=. - 
                                                                
Drag and drop the Current Time field from the Scheduled Flow card to the activation date value field.
 - 
                                                                
Click Done.
 - 
                                                                
Click.
 - 
                                                                
Drag and drop the Rows field from the Search Rows card to the For each item in this list field of the For Each card.
 - 
                                                                
Open the dropdown menu for the contractorRecord field. Select the Item object to pass all fields to the helper flow.
 
