Skip to content

Commit

Permalink
Merge pull request #559 from RizaFarheen/main
Browse files Browse the repository at this point in the history
Updates based on latest UI changes - 2
  • Loading branch information
nhandt2021 authored Nov 9, 2023
2 parents b695c2c + d011bce commit c5c6919
Show file tree
Hide file tree
Showing 24 changed files with 23 additions and 25 deletions.
2 changes: 1 addition & 1 deletion docs/faqs/workflow-versioning.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To create a new version of a workflow, you can make changes to your existing wor

You can view previous versions of a workflow from the Workflow Definitions page.

1. Navigate to **Workflow > Definitions**.
1. Navigate to **Definitions > Workflow**.
2. Click the required workflow.
3. You can choose the workflow version to view your definition.

Expand Down
30 changes: 14 additions & 16 deletions docs/reference-docs/operators/terminate-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,23 +89,21 @@ Suppose another running workflow is to be terminated; we can create a workflow w
A sample workflow may look like this:
```json
{
"name": "terminate_workflow",
"description": "Edit or extend this sample workflow. Set the workflow name to get started",
"version": 1,
"tasks": [
{
"name": "terminate_hello_world",
"taskReferenceName": "terminate_hello_world",
"inputParameters": {
"workflowId": "ff2c8cdc-d20e-11ed-b1a7-ce4d7ef052ad"
},
"type": "TERMINATE_WORKFLOW"
}
],
"schemaVersion": 2,
"ownerEmail": "[email protected]",
"timeoutPolicy": "ALERT_ONLY"
"name": "terminate_workflow",
"description": "Edit or extend this sample workflow. Set the workflow name to get started",
"version": 1,
"tasks": [
{
"name": "terminate_hello_world",
"taskReferenceName": "terminate_hello_world",
"inputParameters": {
"workflowId": "a8776d48-7ec9-11ee-8f81-26c6bd51258d"
},
"type": "TERMINATE_WORKFLOW"
}
],
"ownerEmail": "[email protected]"
}
```
If we run this workflow, the workflow with the mentioned workflowId gets terminated, and we can get the terminatedWorkflowIds from the execution page.

Expand Down
8 changes: 4 additions & 4 deletions docs/reference-docs/system-tasks/wait-for-webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ For example, the above one will match the webhook event payload where the **even

Let’s create a Webhook now.

1. Navigate to **Webhooks** from the Conductor server.
1. Navigate to **Definitions > Webhooks** from the left menu of your Conductor console.
2. Click **New Webhook**.
3. You need to fill in the following details:

| Field | Description |
|-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Webhook Name | Provide a unique name for your Webhook. |
| Workflow To Receive Webhook Event | Provide the workflow name that is supposed to receive this webhook event. |
| Source Platform | Choose the platform from which this webhook event is going to be invoked. The currently supported platforms are GitHub, Slack, Twilio, Stripe, Pagerduty, Zendesk, Twitter, Facebook, Sendgrid & Custom. <br/> **Note**: You can use the option custom for unsupported systems. |
| Webhook name | Provide a unique name for your Webhook. |
| Workflow to receive webhook event | Provide the workflow name that is supposed to receive this webhook event. |
| Source platform | Choose the platform from which this webhook event is going to be invoked. The currently supported platforms are GitHub, Slack, Twilio, Stripe, Pagerduty, Zendesk, Twitter, Facebook, Sendgrid & Custom. <br/> **Note**: You can use the option custom for unsupported systems. |
| Start workflow when webhook events come | Check this option to start a new workflow based on the data received from the webhook event. Once enabled, you need to choose the workflow to be executed. |

4. Click the **Create** button, and the Conductor will generate a Webhook URL, which will be unverified.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ In this example, let’s create a sample workflow like this:

To create a workflow,

1. From your Conductor server, navigate to **Workflows > Definitions** from the left menu.
1. From your Conductor server, navigate to **Definitions > Workflows** from the left menu.
2. Click **Define Workflow** and create the workflow to implement your business solution. Include the *[WAIT_FOR_WEBHOOK](https://orkes.io/content/reference-docs/system-tasks/wait-for-webhook)* task where you need to receive the signal to the webhook.

The JSON code for the above workflow is as follows:
Expand Down Expand Up @@ -64,7 +64,7 @@ The JSON code for the above workflow is as follows:

Next, you need to create a webhook.

1. From your Conductor server, navigate to **Webhooks** from the left menu.
1. From your Conductor server, navigate to **Definitions > Webhooks** from the left menu.
2. Click the **New Webhook** button and create the webhook with the following configurations.

<p align="center"><img src="/content/img/sample-webhook-using-curl.png" alt="Webhook created in Conductor" width="70%" height="auto" style={{paddingBottom: 40, paddingTop: 40}} /></p>
Expand Down
4 changes: 2 additions & 2 deletions docs/templates/examples/incoming-webhook-using-postman.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Consider the following workflow that waits for a webhook event from Postman:

To create a workflow:

1. Navigate to **Workflows > Definitions** from the left menu.
1. Navigate to **Definitions > Workflows** from the left menu.
2. Click **Define Workflow** and create a workflow including a [WAIT_FOR_WEBHOOK](https://orkes.io/content/reference-docs/system-tasks/wait-for-webhook) task.

For the WAIT_FOR_WEBHOOK task, the input matches are defined as:
Expand Down Expand Up @@ -72,7 +72,7 @@ Next, create a webhook to invoke this workflow.

## Creating Webhook in Conductor

1. From your Conductor server, navigate to **Webhooks** from the left menu.
1. From your Conductor server, navigate to **Definitions > Webhooks** from the left menu.
2. Click the **New Webhook** button and create the webhook with the following configurations.

<p align="center"><img src="/content/img/sample-webhook.png" alt="Webhook example" width="70%" height="auto" style={{paddingBottom: 40, paddingTop: 40}} /></p>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/Webhook-with-a-verified-URL-in-Conductor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/Webhook-with-an-unverified-URL-in-Conductor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/completed-webhook-curl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/deleting-versions-in-workflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/running-different-workflow-versions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/running-workflow-curl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/sample-webhook-using-curl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/start-workflow-output-in-conductor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/terminate-workflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/terminated-workflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/triggered-workflow-curl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/verified-webhook-curl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/viewing-execution-curl.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/workflow-status-update-from-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/workflow-versioning.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/img/workflowid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c5c6919

Please sign in to comment.