# Process Flow Maker

As the "Maker", you are responsible for making requests before changing the process flow. There are several additional steps before the Maker can make changes to the process flow:

1. The maker must duplicate the selected workflow before making changes and saving it. This workflow will have the label "Draft".
2. Then, the maker can make changes to draft workflows. Adjust the changes to the intended needs.
3. The maker submits changes by sending a "Merge Request" to checkers.

To begin making updates, go to the Bot Settings page and select the **Process Flow** menu. Click the **'List of Workflow'** button on the process flow page. You will then see a pop-up of the List of Workflow, where you can make changes.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FfI1RddoQ5Z7oyAcgXV5F%2FEdit%20workflow.png?alt=media&#x26;token=8164cdff-edc2-46cc-b8f6-87abe31ce260" alt=""><figcaption><p>Edit Workflow</p></figcaption></figure>

**Component Explanation:**

<table><thead><tr><th width="117.66666666666669">Icon</th><th width="182">Name</th><th>Description</th></tr></thead><tbody><tr><td><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FZFNV0DVhjDoMGTmWa0RY%2FList%20Tab%20workflow.png?alt=media&#x26;token=0ba41c7d-f447-4f52-b505-55ffb458877e" alt="" data-size="line"></td><td>List Tab</td><td>Displays the list of created and active process flows.</td></tr><tr><td><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FhVGVlEa2GJ75taHOfgux%2FMerge%20req%20tab%20workflow.png?alt=media&#x26;token=358a87f0-0a8c-4d78-8e2c-70703c1c56c4" alt="" data-size="line"></td><td>Merge Request Tab</td><td>Displays a list of process flow changes waiting to be approved or rejected by the Checker.</td></tr><tr><td><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2F1KxzLTVDdM6EqVIqZWjX%2Fdraft%20tab%20workflow.png?alt=media&#x26;token=e4a8109d-86aa-4f67-8dab-f07c195cedc5" alt="" data-size="line"></td><td>Draft Tab</td><td>Displays a list of process flows that are undergoing modification.</td></tr><tr><td><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2Fr0ihPU288AMt6Frxc62s%2FView%20workflow.png?alt=media&#x26;token=e3be21e4-1a91-4b23-988c-60b9211cc216" alt="" data-size="line"></td><td>View Workflow</td><td><p>To view your workflow. In each tab, this function has a different function, i.e.:</p><ul><li>List Tab -> View the currently active workflow.</li><li>Merge Request Tab -> View workflows that are waiting to be approved or rejected by the Checker.</li><li>Draft Tab -> View the modified workflows. </li></ul></td></tr><tr><td><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FO54rcG59102VsUX6rmdK%2Fremove%20workflow.png?alt=media&#x26;token=36fc0c03-54da-4a4d-8ce7-f786f4494bfb" alt="" data-size="line"></td><td>Delete Workfow</td><td><p>To remove your workflow. Each tab will have a different function, i.e.:</p><ul><li>List Tab -> Remove activated workflow. </li><li>Merge Request Tab -> Remove workflows that are waiting to be approved or rejected by the Checker.</li><li>Draft Tab -> Remove the modified workflows. </li></ul></td></tr></tbody></table>

To start editing, select the workflow you want to change by clicking the **'View Workflow'** button on the List tab.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FduUA2YqTjme3P70239Ow%2FView%20workflow.png?alt=media&#x26;token=35987686-450e-42f7-8a20-a720d2a94e03" alt=""><figcaption><p>View WOrkflow</p></figcaption></figure>

Then, the system will display the selected workflow. On the top right, click the **'Duplicate'** button to start drafting the workflow.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FQCgl2EEbprMZTNUAicPx%2Fduplicate%20workflow.png?alt=media&#x26;token=cc8b258d-a85c-4550-b0a6-9bc664c5218a" alt=""><figcaption><p>Duplicate Workflow</p></figcaption></figure>

Enter a new name for the draft workflow and click **'Save'** to save it.&#x20;

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FOxiivmMNGBGbi3ppDdZK%2Fsave%20draft%20workflow.png?alt=media&#x26;token=57bf3f04-be72-4144-8fcc-0de60ac8a540" alt=""><figcaption><p>Draft Workflow</p></figcaption></figure>

You will see a success notification and the "Draft" label on the saved workflow.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2Fapmv9p4VOInxNf9ruF24%2Fcreated%20new%20draft.png?alt=media&#x26;token=83269a12-02a6-4228-b559-2e874c8e9e16" alt=""><figcaption><p>Draft Workflow</p></figcaption></figure>

When your workflow is already in "Draft" mode, the Maker can change the contents by adding, duplicating, or removing workflow nodes.

<table><thead><tr><th width="114">Icon</th><th width="140">Nama</th><th>Deskripsi</th></tr></thead><tbody><tr><td><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FnLKBT3ciSlAM2yAIgRab%2FClone%20node%20workflow.png?alt=media&#x26;token=7c36c021-4ee9-4e12-b7a9-90a5ca7906d3" alt=""></td><td>Clone</td><td>To duplicate the selected workflow node.</td></tr><tr><td><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FpM6XEiOpOuctQLaZWLt7%2Fremove%20node%20workflow.png?alt=media&#x26;token=31cc3fc1-5207-4b0d-be25-e73196f57819" alt=""></td><td>Remove</td><td>To delete the selected workflow node.</td></tr></tbody></table>

Makers can save all workflow changes by clicking the **'Save'** button and the draft will be automatically saved in the **Drafts** tab. To view drafts, click **'List of Workflow'** and select the **Drafts** tab.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FUSr6A6UxN8Tm4OE6tLcb%2Fview%20edited%20draft.png?alt=media&#x26;token=33f98e29-9d02-4ed1-890f-e90003e593bc" alt=""><figcaption><p>View Draft Workflow</p></figcaption></figure>

Once you have made the necessary changes, submit it as a merge request on the Checker side by clicking the **'Option'** button (<img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FuV0uG4HgB0mcCCaXy5qX%2Fimage.png?alt=media&#x26;token=cf1f060e-a24b-4b10-8f80-13c2099425b4" alt="" data-size="line">). You will see a pop-up with instructions for submitting a merge request.

{% hint style="warning" %}
Remember to always save changes before submitting the "Merge Request".
{% endhint %}

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2F09HlunpYhqHCjN80C26s%2Fmerge%20request.png?alt=media&#x26;token=3e797927-db93-44ee-acd6-0d4a185094ed" alt=""><figcaption><p>Merge Request</p></figcaption></figure>

**Component Explanation:**

<table><thead><tr><th width="259.5">Nama</th><th>Deskripsi </th></tr></thead><tbody><tr><td>Description</td><td>Add the description of the requested workflow change.</td></tr><tr><td>Reviewer</td><td>Add the Checker responsible for reviewing workflow changes.</td></tr><tr><td>Priority</td><td><p>Select the priority of your workflow changes, i.e.: </p><ul><li>Low -> There are slight changes or adjustments to the existing workflow. </li><li>Medium -> Workflow changes between minor and major.  </li><li>High -> There are lots of adjustments to existing workflows. </li></ul></td></tr><tr><td>Node workflow</td><td><p>It displays all changes in the content's workflow.</p><ul><li>Added -> Additional new workflow node. </li><li>Edit -> Show modifications contents of the workflow nodes.</li><li>Delete -> Removal from workflow node.</li></ul></td></tr><tr><td>Merge Request</td><td>Button to submit merge request.</td></tr><tr><td>Cancel</td><td>Button to return to draft workflow.</td></tr></tbody></table>

{% hint style="info" %}
Your changes will disappear from the Drafts tab, and the "Draft" status will become "Merge Request".
{% endhint %}

There are circumstances when you must update your draft due to approved workflow changes. Click the 'View' button to update your draft with the latest workflow instantly.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FrO8OgA9K5bn6i1TLi2ZB%2Fupdates%20draft%20workflow.png?alt=media&#x26;token=1453e84d-a15c-478e-b910-2b513f3ac4ca" alt=""><figcaption><p>Update Draft Workflow</p></figcaption></figure>

You cannot submit a merge request before updating the process flow. The updates available pop-up will appear when you submit without updating the workflow, as shown below.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FqAlGKV7g63wVv86EeWgu%2Fupdates%20available.png?alt=media&#x26;token=6fafc772-fda1-4dd5-916b-966f6a61ec35" alt=""><figcaption><p>Updates Available </p></figcaption></figure>
