- 20 Mar 2024
- 3 Minutes to read
- Print
- DarkLight
Repository Action Flows
- Updated on 20 Mar 2024
- 3 Minutes to read
- Print
- DarkLight
Overview
A Repository Action Flow is a Flow built with the intent of performing a specific action either Before or After the Project Creation or Project Checkin. Repository Action Flows can be accessed from a Decisions Repository environment by:
- Navigating to System > Administration > Repository Actions Flows.
- Expanding the FLOW option from the top Action Bar and selecting which type of Action Flow to create.
Action Flow Types
Version 8.19 ChangesThe Before Checkout Flow and the After Checkout Flow options are only available in version 8.19 and above.
Before Project Creation Flow
This Flow executes before a Project is created on the Repository and contains two Endpoints (End steps); Allowed and Not Allowed. With two separate End steps, two different paths of Flow logic can be created to assure that the appropriate criteria are met before the project can be created. This Flow only allows steps that are synchronous with the Flow, meaning elements like Tasks, Forms, and Assignments cannot be used.
After Project Creation Flow
This Flow executes after a Project is created on the Repository and contains just one End step. This Flow logic can be built to perform Flow functions for Repository Actions, which include the use of synchronous and asynchronous Flow steps.
Before Checkin Flow
This Flow executes before a Project is Checkedin to the Repository and contains two Endpoints (End steps); Allowed and Not Allowed. With two separate End steps, two different paths of Flow logic can be created to assure that the appropriate criteria are met before the Project can be checked into the Repository. This Flow only allows steps that are synchronous with the Flow, meaning elements like Tasks, Forms, and Assignments cannot be used.
After Checkin Flow
This Flow executes after a Project is checked into the Repository and contains just one End step. This Flow logic can be built to perform Flow functions for Repository Actions, which include the use of synchronous and asynchronous Flow steps.
Before Checkout Flow
This Flow executes before a Project is checked out of the Repository and contains two Endpoints (End steps); Allowed and Not Allowed. With two separate End steps, two different paths of Flow logic can be created to assure that the appropriate criteria are met before the Project can be checked out of the Repository. This Flow only allows steps that are synchronous with the Flow, meaning elements like Tasks, Forms, and Assignments cannot be used.
After Checkout Flow
This Flow executes after a Project is checked out of the Repository and contains just one End step. This Flow logic can be built to perform Flow functions for Repository Actions, which include the use of synchronous and asynchronous Flow steps.
Example
Once an Action Flow is selected in the Designer Repository Settings, it will be available for all Projects associated with the Repository.
Since these Flows are specific to the Repository, they automatically contain Branch Name and Project Name as Flow Data. This can be accessed from the Data Explorer tab in the Flow Designer or by using the Select From Flow input mapping type when defining an Input value.
Using the provided Flow Data, Rules can be created and implemented into the Flow that can check against the Branch or Project data, which could determine whether the action passes to Allowed or Not Allowed.
After the Action Flow is created, it must be applied to the Repository environment.
Do so by:
- Navigating to System > Settings > Designer Repository Settings.
- In the Repository Settings window, under Repository Server Action Handlers, click Pick under the desired Action Handler Type.
- PICK the desired Repository Action Flow.
- Click SAVE SETTINGS to save the configuration.The chosen Flow will execute when the corresponding event happens in the Repository.
Version Update Changes
Description | Version | Date | Developer Task |
---|---|---|---|
The Before Checkout Flow and After Checkout Flow were added to the Action Flow Types menu. | 8.19 | 3.20.2024 | DT-040291 |