Last updated: 2021-06-07
Here’s a sample workflow to demonstrate the use of the Gitlab Orchestration app to automate the fulfilment of Gitlab Project Requests.

1. Create an event when a Service request is raised.
2. Followed by the condition to ensure the Service request is raised for Gitlab.
3. You can then pull in the App Node which will have the following configurations:
App Name: Gitlab - Orch
App Action: Look Up User By Email
Notes when Configuring Inputs:

4. To validate whether the user exists or not a condition node is added to check whether the status code is in between 200 - 300.
5. If the user is found you can then pull in the App Node which will have the following configurations:
App Name: Gitlab - Orch
App Action: Look Up Project
Notes when Configuring Inputs:

6. To validate whether the Project exists or not a condition node is added to check whether the status code is in between 200 - 300.
7. If the project is found you can then pull in the App Node which will have the following configurations:
App Name: Gitlab - Orch
App Action: Add User To Project
Notes when Configuring Inputs:

8. To validate whether the User is added to a Project or not a condition node is added to check whether the status code is in between 200 - 300.
9. If the workflow is successfully executed, add a note using the action node.