💄 Style changes

This commit is contained in:
Tanay Pant 2020-08-04 17:47:06 +02:00
parent 3594c29cfe
commit 830b6cb283

View File

@ -45,10 +45,10 @@ The start node exists by default when you create a new workflow.
### 2. PagerDuty node (create: incident)
1. First of all, you'll have to enter credentials for the PagerDuty node. You can find out how to do that [here](../../../credentials/PagerDuty/README.md).
2. Enter the title of the incident in the *Title* field.
3. Select the *Service ID* from the dropdown list.
4. Enter your email in the *Email* field.
5. Click on *Execute Node* to run the node.
2. Enter the title of the incident in the ***Title*** field.
3. Select the ***Service ID*** from the dropdown list.
4. Enter your email in the ***Email*** field.
5. Click on ***Execute Node*** to run the node.
![Using the PagerDuty node to create an incident](./PagerDuty_node.png)
@ -57,14 +57,14 @@ The start node exists by default when you create a new workflow.
### 3. PagerDuty1 node (update: incident)
1. Select the credentials that you entered in the previous node.
2. Select 'Update' from the *Operation* dropdown list.
3. Click on the gears icon next to the *Incident ID* field and click on *Add Expression*.
4. Select the following in the *Variable Selector* section: Nodes > Output Data > JSON > id. You can also add the following expression: `{{$node["PagerDuty"].json["id"]}}`.
5. Click on the gears icon next to the *Email* field and click on *Add Expression*.
6. Select the following in the *Variable Selector* section: Nodes > Parameters > email. You can also add the following expression: `{{$node["PagerDuty"].parameter["email"]}}`.
7. Click on the *Add Field* button and click on *Title*.
8. Enter the name of the updated title in the *Title* field.
9. Click on *Execute Node* to run the node.
2. Select 'Update' from the ***Operation*** dropdown list.
3. Click on the gears icon next to the ***Incident ID*** field and click on ***Add Expression***.
4. Select the following in the ***Variable Selector*** section: Nodes > Output Data > JSON > id. You can also add the following expression: `{{$node["PagerDuty"].json["id"]}}`.
5. Click on the gears icon next to the ***Email*** field and click on ***Add Expression***.
6. Select the following in the ***Variable Selector*** section: Nodes > Parameters > email. You can also add the following expression: `{{$node["PagerDuty"].parameter["email"]}}`.
7. Click on the ***Add Field*** button and click on ***Title***.
8. Enter the name of the updated title in the ***Title*** field.
9. Click on ***Execute Node*** to run the node.
:::
![Using the PagerDuty node to update an incident](./PagerDuty1_node.png)
@ -74,10 +74,10 @@ The start node exists by default when you create a new workflow.
### 4. PagerDuty2 node (get: incident)
1. Select the credentials that you entered in the previous node.
2. Select 'Get' from the *Operation* dropdown list.
3. Click on the gears icon next to the *Incident ID* field and click on *Add Expression*.
4. Select the following in the *Variable Selector* section: Nodes > Output Data > JSON > id. You can also add the following expression: `{{$node["PagerDuty"].json["id"]}}`.
5. Click on *Execute Node* to run the node.
2. Select 'Get' from the ***Operation*** dropdown list.
3. Click on the gears icon next to the ***Incident ID*** field and click on ***Add Expression***.
4. Select the following in the ***Variable Selector*** section: Nodes > Output Data > JSON > id. You can also add the following expression: `{{$node["PagerDuty"].json["id"]}}`.
5. Click on ***Execute Node*** to run the node.
:::
![Using the PagerDuty node to get an incident](./PagerDuty2_node.png)