{
  "elementsLearnedData": [],
  "elementsTestData": [],
  "flow": {
    "id": "BFED3B1E-2B1E-4143-837F-B1041597AC7E",
    "name": "Verdo: release approval from Linear"
  },
  "flowVersion": {
    "clientMetadata": {
      "viewport": {
        "x": -60.4566210045662,
        "y": -736.255707762557,
        "zoom": 0.91
      },
      "autoSave": false,
      "descriptions": {
        "flow": "When an issue moves to review in Linear, proposes a release decision in Verdo with a deploy tag, posts the link to Slack, flags an escalation on the issue, and moves the issue forward or opens follow-up work in Jira from the approver's decision.",
        "initialData": "",
        "initialDataFields": {}
      }
    },
    "description": "When an issue moves to review in Linear, proposes a release decision in Verdo with a deploy tag, posts the link to Slack, flags an escalation on the issue, and moves the issue forward or opens follow-up work in Jira from the approver's decision.",
    "elements": [
      {
        "clientMetadata": {
          "notes": "Fires when a routing rule escalates a decision whose approver has not answered in time. The decision stays open. Uses one of the workspace's webhook subscriptions.",
          "elementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionEscalated",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-trigger",
          "newElementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionEscalated",
          "legacyElementId": null,
          "methodName": "onDecisionEscalated",
          "position": {
            "x": 110,
            "y": 40
          }
        },
        "flowElementId": "E0142347-66F8-4200-9A1B-C533BFD6D9D4",
        "groupId": "971579FF-8AC7-4BA5-BD98-9E81A42C6804",
        "id": "D0E11FB8-B683-4D1C-84BA-0E91C486ECAB",
        "metaInfo": {
          "callbackUrl": null,
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "16a50557-a007-4ab8-a031-60eaaf300c8e",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Escalated event",
                      "subPathSegments": [
                        {
                          "key": "decision_id",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "id",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              },
              {
                "id": "b0e0d682-e007-429f-ac11-daf39e6e897f",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Escalated event",
                      "subPathSegments": [
                        {
                          "key": "decision",
                          "optional": false
                        },
                        {
                          "key": "id",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "id",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "16a50557-a007-4ab8-a031-60eaaf300c8e",
              "OR",
              "b0e0d682-e007-429f-ac11-daf39e6e897f"
            ]
          },
          "connectionId": null,
          "eventName": "onDecisionEscalated",
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Escalated event",
          "scope": "SINGLE_APP",
          "serviceId": "verdo",
          "slaConditions": [],
          "staticData": {},
          "storeResult": true,
          "subtype": "REALTIME",
          "type": "CUSTOM"
        },
        "name": "Decision escalated",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "notes": "Gets a decision: its status, the outcome once a person has decided, votes per option, owner, dashboard link and request fingerprint. Compare the fingerprint with the one Propose Decision returned to check the answer is for exactly what was asked.",
          "elementId": "EXTENSION:::SHARED:::default:::verdo:::getDecision",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Read the decision in Verdo Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::verdo:::getDecision",
          "legacyElementId": null,
          "methodName": "getDecision",
          "position": {
            "x": 893,
            "y": 1190
          }
        },
        "flowElementId": "24A857CC-91EB-4C1C-822D-F30F4A76BB0E",
        "groupId": null,
        "id": "266025BE-18E5-4263-BAC3-21BB3B1EFFD4",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "decisionId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Proposed decision",
                    "subPathSegments": [
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "getDecision",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Decision",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "verdo",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Read the decision in Verdo",
        "nextElementIds": [
          "D032F3DF-5C5B-4C8E-9E16-62F4547A2B93"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 148,
            "y": 1029
          }
        },
        "flowElementId": "8DDCE296-A5E9-40E5-BC4D-5DE15C56B973",
        "groupId": null,
        "id": "A2DC7B8E-1DD4-4C89-A8EE-D0427C64668E",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "c4e8fe9e-986d-4807-8e4e-d58fc212e1dd",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Verdo answer",
                      "subPathSegments": [
                        {
                          "key": "source",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "971579FF-8AC7-4BA5-BD98-9E81A42C6804"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "Decision escalated"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "c4e8fe9e-986d-4807-8e4e-d58fc212e1dd"
            ]
          },
          "elseComponent": {
            "componentId": "266025BE-18E5-4263-BAC3-21BB3B1EFFD4",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "esc",
          "storeResult": false,
          "thenComponent": {
            "componentId": "535D1CE5-C1AC-4FB5-885F-47F4103E662E",
            "componentType": "ELEMENT"
          }
        },
        "name": "Escalated?",
        "nextElementIds": [
          "266025BE-18E5-4263-BAC3-21BB3B1EFFD4",
          "535D1CE5-C1AC-4FB5-885F-47F4103E662E"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "notes": "Fires when a person decides a decision in the workspace, at its deadline or when it is closed early. Uses one of the workspace's webhook subscriptions.",
          "elementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionSettled",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-trigger",
          "newElementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionSettled",
          "legacyElementId": null,
          "methodName": "onDecisionSettled",
          "position": {
            "x": 110,
            "y": 220
          }
        },
        "flowElementId": "672987F3-04AB-4DFB-89E6-34FE86A45840",
        "groupId": "971579FF-8AC7-4BA5-BD98-9E81A42C6804",
        "id": "48E673A6-BADB-4B56-B5F9-366AAD926BA3",
        "metaInfo": {
          "callbackUrl": null,
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "aa563d1c-70e7-4fb0-8d47-fd424e403c5c",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Settled event",
                      "subPathSegments": [
                        {
                          "key": "decision_id",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "id",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              },
              {
                "id": "073077df-9a6d-43f9-949a-0ee93de61114",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Settled event",
                      "subPathSegments": [
                        {
                          "key": "decision",
                          "optional": false
                        },
                        {
                          "key": "id",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "id",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "aa563d1c-70e7-4fb0-8d47-fd424e403c5c",
              "OR",
              "073077df-9a6d-43f9-949a-0ee93de61114"
            ]
          },
          "connectionId": null,
          "eventName": "onDecisionSettled",
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Settled event",
          "scope": "SINGLE_APP",
          "serviceId": "verdo",
          "slaConditions": [],
          "staticData": {},
          "storeResult": true,
          "subtype": "REALTIME",
          "type": "CUSTOM"
        },
        "name": "Decision settled",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "notes": "Proposes a decision with 2 to 10 options. It invites nobody: the decision opens in the Verdo dashboard, and a tag that matches a workspace routing rule assigns its approver. Returns the decision id and its dashboard link to send to the person who decides. Needs a full-access key.",
          "elementId": "EXTENSION:::SHARED:::default:::verdo:::proposeDecision",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Propose the release in Verdo Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::verdo:::proposeDecision",
          "legacyElementId": null,
          "methodName": "proposeDecision",
          "position": {
            "x": 886,
            "y": 850
          }
        },
        "flowElementId": "C12EBF59-D8A4-42A0-AEA0-DD8A05D29545",
        "groupId": null,
        "id": "F87105D2-F497-49BD-B103-14306F4F648A",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "title",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Release text",
                    "subPathSegments": [
                      {
                        "key": "question",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "852B5A14-05C5-4066-974A-B6C5083166E2"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "options",
              "type": "SIMPLE_LIST",
              "value": [
                {
                  "expression": [
                    {
                      "id": "TEXT",
                      "label": null,
                      "type": "INPUT",
                      "value": "Ship it"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                {
                  "expression": [
                    {
                      "id": "TEXT",
                      "label": null,
                      "type": "INPUT",
                      "value": "Hold the release"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                }
              ]
            },
            {
              "name": "method",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "single_choice"
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "deadlineHours",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "NUMBER",
                    "label": null,
                    "type": "INPUT",
                    "value": 24
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "authorityMode",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "anonymous",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "tags",
              "type": "SIMPLE_LIST",
              "value": [
                {
                  "expression": [
                    {
                      "id": "TEXT",
                      "label": null,
                      "type": "INPUT",
                      "value": "deploy"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                }
              ]
            },
            {
              "name": "idempotencyKey",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "release-"
                  },
                  {
                    "id": "RESULT",
                    "label": "Linear event",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "BA0F22C9-8D07-4FDB-8E76-08139DE5F906"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sourceAgent",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "FlowRunner release approval"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "proposeDecision",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Proposed decision",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "verdo",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Propose the release in Verdo",
        "nextElementIds": [
          "B3D1A913-9F26-41C8-BC54-F37400E772A9"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Creates a new issue in a Jira project. Supports standard fields like summary, description, issue type, priority, and assignee. Custom fields can also be included in the fields object.",
          "elementId": "EXTENSION:::SHARED:::default:::jira-issues:::createIssue",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Open follow-up work in Jira Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::jira-issues:::createIssue",
          "legacyElementId": "JS###v1###JiraIssues###createIssue",
          "methodName": "createIssue",
          "position": {
            "x": 890,
            "y": 1490
          }
        },
        "flowElementId": "6AC35018-65BE-4ABA-B836-1AF11C680239",
        "groupId": null,
        "id": "BB338115-A37D-4545-B754-5B01A203E0F2",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "projectKey",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "issueType",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "summary",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Outcome",
                    "subPathSegments": [
                      {
                        "key": "followUpSummary",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "D032F3DF-5C5B-4C8E-9E16-62F4547A2B93"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "description",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Outcome",
                    "subPathSegments": [
                      {
                        "key": "followUpDescription",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "D032F3DF-5C5B-4C8E-9E16-62F4547A2B93"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "priority",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "assigneeAccountId",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "reporterAccountId",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "labels",
              "type": "SIMPLE_LIST",
              "value": [
                {
                  "expression": [
                    {
                      "id": "TEXT",
                      "label": null,
                      "type": "INPUT",
                      "value": "release-hold"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                }
              ]
            },
            {
              "name": "additionalFields",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": "Block: 'Open follow-up work in Jira', Error: Project Key is required",
            "valid": false
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "createIssue",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Follow-up",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "jira-issues",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Open follow-up work in Jira",
        "nextElementIds": [
          "EF693CA3-9B66-4E30-AFC2-CDDCED37F133"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Fires when the approver rejects a decision in the workspace. Uses one of the workspace's webhook subscriptions.",
          "elementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionRejected",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-trigger",
          "newElementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionRejected",
          "legacyElementId": null,
          "methodName": "onDecisionRejected",
          "position": {
            "x": 110,
            "y": 400
          }
        },
        "flowElementId": "C2B31335-6608-4B10-BDC3-2F5D4BE94896",
        "groupId": "971579FF-8AC7-4BA5-BD98-9E81A42C6804",
        "id": "4F4D5084-2337-4655-9C48-0E80EDC0CE42",
        "metaInfo": {
          "callbackUrl": null,
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "7dc0d46c-9a69-4da8-a1cf-96caeb274734",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Rejected event",
                      "subPathSegments": [
                        {
                          "key": "decision_id",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "id",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              },
              {
                "id": "066a1aaf-c909-4af2-982f-7ed687ac8a28",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Rejected event",
                      "subPathSegments": [
                        {
                          "key": "decision",
                          "optional": false
                        },
                        {
                          "key": "id",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "id",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "7dc0d46c-9a69-4da8-a1cf-96caeb274734",
              "OR",
              "066a1aaf-c909-4af2-982f-7ed687ac8a28"
            ]
          },
          "connectionId": null,
          "eventName": "onDecisionRejected",
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Rejected event",
          "scope": "SINGLE_APP",
          "serviceId": "verdo",
          "slaConditions": [],
          "staticData": {},
          "storeResult": true,
          "subtype": "REALTIME",
          "type": "CUSTOM"
        },
        "name": "Decision rejected",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "notes": "Adds a comment to a Linear issue. The comment body supports Markdown. Returns the created comment with its ID and URL.",
          "elementId": "EXTENSION:::SHARED:::default:::linear:::createComment",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Flag the escalation on the issue Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::linear:::createComment",
          "legacyElementId": "JS###v1###Linear###createComment",
          "methodName": "createComment",
          "position": {
            "x": 110,
            "y": 1190
          }
        },
        "flowElementId": "F68A129E-7B88-4A60-8F8E-E6A9628B25F0",
        "groupId": null,
        "id": "535D1CE5-C1AC-4FB5-885F-47F4103E662E",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "issueId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Linear event",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "BA0F22C9-8D07-4FDB-8E76-08139DE5F906"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "body",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "The release approver has not answered in time, so Verdo escalated the decision under the workspace's routing rule. The decision is still open and this release waits on it. Please do not ship around it: "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Proposed decision",
                    "subPathSegments": [
                      {
                        "key": "url",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "createComment",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Escalation comment",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "linear",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Flag the escalation on the issue",
        "nextElementIds": [],
        "nextGroupIds": [
          "5211BCDD-D63F-4658-9B88-CE6CB92C6606"
        ],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 1298,
            "y": 859
          }
        },
        "flowElementId": "C68B48B9-DF9F-4E00-802A-6BE5B3C7801F",
        "groupId": null,
        "id": "B3D1A913-9F26-41C8-BC54-F37400E772A9",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "e487f819-30fd-4e0f-a249-eec033ae1cb3",
                "nestedOperation": null,
                "operation": "isTrue",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Proposed decision",
                      "subPathSegments": [
                        {
                          "key": "created",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "BOOLEAN",
                "values": []
              }
            ],
            "grouping": [
              "e487f819-30fd-4e0f-a249-eec033ae1cb3"
            ]
          },
          "elseComponent": null,
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "isnew",
          "storeResult": false,
          "thenComponent": {
            "componentId": "3FF4408A-4AEA-4A18-B573-1FB4B7167323",
            "componentType": "ELEMENT"
          }
        },
        "name": "New release decision?",
        "nextElementIds": [
          "3FF4408A-4AEA-4A18-B573-1FB4B7167323"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "notes": "Fires when a decision closes without reaching a result. A decision that is extended can stall again, and fires again. Checks the newest 25 events on each poll.",
          "elementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionStalled",
          "isFirstElement": false,
          "blockDefinitionId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionStalled",
          "newElementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionStalled",
          "legacyElementId": null,
          "methodName": "onDecisionStalled",
          "position": {
            "x": 110,
            "y": 580
          }
        },
        "flowElementId": "F78D47C3-6537-4030-8A4E-C0945616FBD9",
        "groupId": "971579FF-8AC7-4BA5-BD98-9E81A42C6804",
        "id": "1D221420-AB98-45F6-AF0A-88054254B7D5",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "4c03df9a-f168-4a5b-9251-2d319c190b14",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Stalled event",
                      "subPathSegments": [
                        {
                          "key": "decision_id",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "id",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "4c03df9a-f168-4a5b-9251-2d319c190b14"
            ]
          },
          "connectionId": null,
          "dynamicData": [],
          "eventName": "onDecisionStalled",
          "frequency": {
            "repeat": {
              "every": 900
            },
            "schedule": "custom"
          },
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Stalled event",
          "serviceId": "verdo",
          "slaConditions": [],
          "staticData": {},
          "storeResult": true,
          "subtype": "POLLING",
          "type": "CUSTOM"
        },
        "name": "Decision stalled",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "notes": "Fires when the approver rejects a decision in the workspace. Uses one of the workspace's webhook subscriptions.",
          "elementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionRejected",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-trigger",
          "newElementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionRejected",
          "legacyElementId": null,
          "methodName": "onDecisionRejected",
          "position": {
            "x": 110,
            "y": 760
          }
        },
        "flowElementId": "3710BBD8-210A-4ED9-9DF7-85B3038A433F",
        "groupId": "5211BCDD-D63F-4658-9B88-CE6CB92C6606",
        "id": "C601A2A2-7FDC-451A-A409-5B10D900ACD2",
        "metaInfo": {
          "callbackUrl": null,
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "d65ffd82-c692-44b3-9d7a-6d5294b36608",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Rejected later",
                      "subPathSegments": [
                        {
                          "key": "decision_id",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "id",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              },
              {
                "id": "5c092887-ba10-439e-822f-615c1a201f8a",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Rejected later",
                      "subPathSegments": [
                        {
                          "key": "decision",
                          "optional": false
                        },
                        {
                          "key": "id",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "id",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "d65ffd82-c692-44b3-9d7a-6d5294b36608",
              "OR",
              "5c092887-ba10-439e-822f-615c1a201f8a"
            ]
          },
          "connectionId": null,
          "eventName": "onDecisionRejected",
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Rejected later",
          "scope": "SINGLE_APP",
          "serviceId": "verdo",
          "slaConditions": [],
          "staticData": {},
          "storeResult": true,
          "subtype": "REALTIME",
          "type": "CUSTOM"
        },
        "name": "Rejected after escalation",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "notes": "Fires when a chosen Linear resource changes. Choose a resource type (Issues, Comments, Projects, or Issue Labels) and optionally scope to a single team. Linear registers a webhook and this trigger runs your flow on each create, update, or remove event.",
          "elementId": "EXTENSION:::SHARED:::default:::linear:::onLinearEvent",
          "isFirstElement": true,
          "blockDefinitionId": "api-service-trigger",
          "newElementId": "EXTENSION:::SHARED:::default:::linear:::onLinearEvent",
          "legacyElementId": "JS###v1###Linear###onLinearEvent",
          "methodName": "onLinearEvent",
          "position": {
            "x": 141,
            "y": 850
          }
        },
        "flowElementId": "6A22CFA8-9BD5-4639-A569-924E6E1EB8EE",
        "groupId": null,
        "id": "BA0F22C9-8D07-4FDB-8E76-08139DE5F906",
        "metaInfo": {
          "callbackUrl": null,
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "8a5dffe1-3d71-4994-ac53-948bd88e748a",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Linear event",
                      "subPathSegments": [
                        {
                          "key": "action",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "update"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              },
              {
                "id": "d0e6e21f-4dcf-4b82-879f-589cd899221b",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Linear event",
                      "subPathSegments": [
                        {
                          "key": "data",
                          "optional": false
                        },
                        {
                          "key": "state",
                          "optional": false
                        },
                        {
                          "key": "name",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "PLACEHOLDER_DATA",
                        "label": "Review state",
                        "subPathSegments": null,
                        "type": "EXECUTION_CONTEXT_STATIC_DATA",
                        "value": "Review state"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "8a5dffe1-3d71-4994-ac53-948bd88e748a",
              "AND",
              "d0e6e21f-4dcf-4b82-879f-589cd899221b"
            ]
          },
          "connectionId": null,
          "eventName": "onLinearEvent",
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Linear event",
          "scope": "SINGLE_APP",
          "serviceId": "linear",
          "slaConditions": [],
          "staticData": {
            "resource": "Issue"
          },
          "storeResult": true,
          "subtype": "REALTIME",
          "type": "CUSTOM"
        },
        "name": "Issue moved to review",
        "nextElementIds": [
          "852B5A14-05C5-4066-974A-B6C5083166E2"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": false,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Write the release question Result"
          },
          "position": {
            "x": 514,
            "y": 859
          }
        },
        "flowElementId": "EB28A1DB-EB53-469B-A377-6D92790BFB17",
        "groupId": null,
        "id": "852B5A14-05C5-4066-974A-B6C5083166E2",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "identifier",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Linear event",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "identifier",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "BA0F22C9-8D07-4FDB-8E76-08139DE5F906"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "title",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Linear event",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "title",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "BA0F22C9-8D07-4FDB-8E76-08139DE5F906"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "codeBody": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "// Verdo takes a question of at most 140 characters.\nconst name = `Ship ${identifier}: ${title}`;\nconst question = (name.length > 138 ? `${name.slice(0, 135)}...` : name) + '?';\nreturn { question };"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "Release text",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Write the release question",
        "nextElementIds": [
          "F87105D2-F497-49BD-B103-14306F4F648A"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Fires when a person decides a decision in the workspace, at its deadline or when it is closed early. Uses one of the workspace's webhook subscriptions.",
          "elementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionSettled",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-trigger",
          "newElementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionSettled",
          "legacyElementId": null,
          "methodName": "onDecisionSettled",
          "position": {
            "x": 110,
            "y": 1120
          }
        },
        "flowElementId": "EFA6A9C8-379F-487D-BB9D-BA26CD39BEFB",
        "groupId": "5211BCDD-D63F-4658-9B88-CE6CB92C6606",
        "id": "CAC3CDBE-7365-48AB-86AB-48AF8DEE164C",
        "metaInfo": {
          "callbackUrl": null,
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "53a56eba-3608-4938-9760-f2fd9161f3b0",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Settled later",
                      "subPathSegments": [
                        {
                          "key": "decision_id",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "id",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              },
              {
                "id": "2496a35b-f506-4c74-a08a-98b3487c06b4",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Settled later",
                      "subPathSegments": [
                        {
                          "key": "decision",
                          "optional": false
                        },
                        {
                          "key": "id",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "id",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "53a56eba-3608-4938-9760-f2fd9161f3b0",
              "OR",
              "2496a35b-f506-4c74-a08a-98b3487c06b4"
            ]
          },
          "connectionId": null,
          "eventName": "onDecisionSettled",
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Settled later",
          "scope": "SINGLE_APP",
          "serviceId": "verdo",
          "slaConditions": [],
          "staticData": {},
          "storeResult": true,
          "subtype": "REALTIME",
          "type": "CUSTOM"
        },
        "name": "Settled after escalation",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 1304,
            "y": 1369
          }
        },
        "flowElementId": "20DB4F87-89E4-4921-910C-1F43767870D2",
        "groupId": null,
        "id": "90EF9280-5E95-43C9-B3E7-44BF75ADE55C",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "f174e466-a8fb-4b40-b480-c479ba7ec953",
                "nestedOperation": null,
                "operation": "isTrue",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Outcome",
                      "subPathSegments": [
                        {
                          "key": "ship",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "D032F3DF-5C5B-4C8E-9E16-62F4547A2B93"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "BOOLEAN",
                "values": []
              }
            ],
            "grouping": [
              "f174e466-a8fb-4b40-b480-c479ba7ec953"
            ]
          },
          "elseComponent": {
            "componentId": "BB338115-A37D-4545-B754-5B01A203E0F2",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "ship",
          "storeResult": false,
          "thenComponent": {
            "componentId": "DA2F2134-EEEF-4D6D-A2B1-F1C13DBCA5DF",
            "componentType": "ELEMENT"
          }
        },
        "name": "Ship it?",
        "nextElementIds": [
          "DA2F2134-EEEF-4D6D-A2B1-F1C13DBCA5DF",
          "BB338115-A37D-4545-B754-5B01A203E0F2"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "notes": "Sends messages to Slack channels with optional Block Kit rich layouts. Supports plain text with Slack formatting, or advanced Block Kit JSON for buttons, menus, and interactive elements. Returns the message timestamp and channel ID for later updates or tracking.",
          "elementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "isFirstElement": false,
          "dynamicOptionLabels": {
            "channelId": {}
          },
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Post the release to engineering Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 1268,
            "y": 1020
          }
        },
        "flowElementId": "D3873C01-1A64-4DD6-98EA-CCE208FC0307",
        "groupId": null,
        "id": "3FF4408A-4AEA-4A18-B573-1FB4B7167323",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "channelId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": ""
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "messageText",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "*Release approval:* "
                  },
                  {
                    "id": "RESULT",
                    "label": "Linear event",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "identifier",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "BA0F22C9-8D07-4FDB-8E76-08139DE5F906"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " "
                  },
                  {
                    "id": "RESULT",
                    "label": "Linear event",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "title",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "BA0F22C9-8D07-4FDB-8E76-08139DE5F906"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " is in review.\nVote in Verdo: <"
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Proposed decision",
                    "subPathSegments": [
                      {
                        "key": "url",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "|Open the decision>. The deploy routing rule assigns the release approver, and the vote closes in 24 hours.\nIssue: "
                  },
                  {
                    "id": "RESULT",
                    "label": "Linear event",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "url",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "BA0F22C9-8D07-4FDB-8E76-08139DE5F906"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "threadId",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sendAsBot",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botName",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botIcon",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "replyBroadcast",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "imageURL",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "blocks",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "sendMessageToChannel",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Engineering post",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Post the release to engineering",
        "nextElementIds": [
          "ABE0B6F7-91A8-4E1B-9E05-2F6E272E162F"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Adds a comment to a Linear issue. The comment body supports Markdown. Returns the created comment with its ID and URL.",
          "elementId": "EXTENSION:::SHARED:::default:::linear:::createComment",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Record the approval on the issue Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::linear:::createComment",
          "legacyElementId": "JS###v1###Linear###createComment",
          "methodName": "createComment",
          "position": {
            "x": 492,
            "y": 1360
          }
        },
        "flowElementId": "05966111-704C-45B4-8676-5CF832EAD764",
        "groupId": null,
        "id": "9BF7EAEA-C105-444D-A0CF-CECDDD10FB96",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "issueId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Linear event",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "BA0F22C9-8D07-4FDB-8E76-08139DE5F906"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "body",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Outcome",
                    "subPathSegments": [
                      {
                        "key": "comment",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "D032F3DF-5C5B-4C8E-9E16-62F4547A2B93"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "createComment",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Approval comment",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "linear",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Record the approval on the issue",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Adds a comment to a Linear issue. The comment body supports Markdown. Returns the created comment with its ID and URL.",
          "elementId": "EXTENSION:::SHARED:::default:::linear:::createComment",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Link the decision on the issue Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::linear:::createComment",
          "legacyElementId": "JS###v1###Linear###createComment",
          "methodName": "createComment",
          "position": {
            "x": 883,
            "y": 1020
          }
        },
        "flowElementId": "788E2E07-A637-4369-9457-7CA3FA0F2C0B",
        "groupId": null,
        "id": "ABE0B6F7-91A8-4E1B-9E05-2F6E272E162F",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "issueId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Linear event",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "BA0F22C9-8D07-4FDB-8E76-08139DE5F906"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "body",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "Release approval is open in Verdo: "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Proposed decision",
                    "subPathSegments": [
                      {
                        "key": "url",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "\nThe deploy routing rule assigns the approver. This issue moves on when the decision settles."
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "createComment",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Decision comment",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "linear",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Link the decision on the issue",
        "nextElementIds": [],
        "nextGroupIds": [
          "971579FF-8AC7-4BA5-BD98-9E81A42C6804"
        ],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Updates fields on an existing Linear issue. Provide only the fields you want to change; leave others blank to keep their current values. Supports title, description, assignee, priority, workflow state, labels, project, and due date.",
          "elementId": "EXTENSION:::SHARED:::default:::linear:::updateIssue",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Move the issue forward Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::linear:::updateIssue",
          "legacyElementId": "JS###v1###Linear###updateIssue",
          "methodName": "updateIssue",
          "position": {
            "x": 904,
            "y": 1360
          }
        },
        "flowElementId": "70AE4C51-9081-4258-ABE8-545D321CEB1E",
        "groupId": null,
        "id": "DA2F2134-EEEF-4D6D-A2B1-F1C13DBCA5DF",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "issueId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Linear event",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "BA0F22C9-8D07-4FDB-8E76-08139DE5F906"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "title",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "description",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "assigneeId",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "priority",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "stateId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "PLACEHOLDER_DATA",
                    "label": "Approved state ID",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_STATIC_DATA",
                    "value": "Approved state ID"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "teamId",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "projectId",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "dueDate",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": "Block: 'Move the issue forward', Error: The placeholder \"Approved state ID\" has no value",
            "valid": false
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "updateIssue",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Moved issue",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "linear",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Move the issue forward",
        "nextElementIds": [
          "9BF7EAEA-C105-444D-A0CF-CECDDD10FB96"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Adds a comment to a Linear issue. The comment body supports Markdown. Returns the created comment with its ID and URL.",
          "elementId": "EXTENSION:::SHARED:::default:::linear:::createComment",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Record the hold on the issue Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::linear:::createComment",
          "legacyElementId": "JS###v1###Linear###createComment",
          "methodName": "createComment",
          "position": {
            "x": 507,
            "y": 1490
          }
        },
        "flowElementId": "D2E78CB6-18E6-4082-BE01-FF547C2C61C5",
        "groupId": null,
        "id": "EF693CA3-9B66-4E30-AFC2-CDDCED37F133",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "issueId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Linear event",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "BA0F22C9-8D07-4FDB-8E76-08139DE5F906"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "body",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Outcome",
                    "subPathSegments": [
                      {
                        "key": "comment",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "D032F3DF-5C5B-4C8E-9E16-62F4547A2B93"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "\nFollow-up work in Jira: "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Follow-up",
                    "subPathSegments": [
                      {
                        "key": "key",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "BB338115-A37D-4545-B754-5B01A203E0F2"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "createComment",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Hold comment",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "linear",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Record the hold on the issue",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Fires when a decision closes without reaching a result. A decision that is extended can stall again, and fires again. Checks the newest 25 events on each poll.",
          "elementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionStalled",
          "isFirstElement": false,
          "blockDefinitionId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionStalled",
          "newElementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionStalled",
          "legacyElementId": null,
          "methodName": "onDecisionStalled",
          "position": {
            "x": 110,
            "y": 1300
          }
        },
        "flowElementId": "7802DAD3-C9C5-4F03-9059-AEBEF9D9F3C8",
        "groupId": "5211BCDD-D63F-4658-9B88-CE6CB92C6606",
        "id": "5C2212AE-A37D-4240-A7A2-8D9797E326E7",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "9131dc40-2784-4a79-bc60-8377a5e87ed2",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Stalled later",
                      "subPathSegments": [
                        {
                          "key": "decision_id",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "id",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "9131dc40-2784-4a79-bc60-8377a5e87ed2"
            ]
          },
          "connectionId": null,
          "dynamicData": [],
          "eventName": "onDecisionStalled",
          "frequency": {
            "repeat": {
              "every": 900
            },
            "schedule": "custom"
          },
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Stalled later",
          "serviceId": "verdo",
          "slaConditions": [],
          "staticData": {},
          "storeResult": true,
          "subtype": "POLLING",
          "type": "CUSTOM"
        },
        "name": "Stalled after escalation",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": false,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Check the answer against the request Result"
          },
          "position": {
            "x": 1245,
            "y": 1199
          }
        },
        "flowElementId": "8518CFAF-3E7A-443E-AD80-C34D38AB3FEC",
        "groupId": null,
        "id": "D032F3DF-5C5B-4C8E-9E16-62F4547A2B93",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "status",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Decision",
                    "subPathSegments": [
                      {
                        "key": "decision",
                        "optional": false
                      },
                      {
                        "key": "status",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "266025BE-18E5-4263-BAC3-21BB3B1EFFD4"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "outcome",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Decision",
                    "subPathSegments": [
                      {
                        "key": "decision",
                        "optional": false
                      },
                      {
                        "key": "outcome",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "266025BE-18E5-4263-BAC3-21BB3B1EFFD4"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "votes",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Decision",
                    "subPathSegments": [
                      {
                        "key": "decision",
                        "optional": false
                      },
                      {
                        "key": "vote_breakdown",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "266025BE-18E5-4263-BAC3-21BB3B1EFFD4"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "fingerprintNow",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Decision",
                    "subPathSegments": [
                      {
                        "key": "decision",
                        "optional": false
                      },
                      {
                        "key": "request_fingerprint",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "266025BE-18E5-4263-BAC3-21BB3B1EFFD4"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "fingerprintAsked",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Proposed decision",
                    "subPathSegments": [
                      {
                        "key": "request_fingerprint",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "link",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Proposed decision",
                    "subPathSegments": [
                      {
                        "key": "url",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "F87105D2-F497-49BD-B103-14306F4F648A"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "identifier",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Linear event",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "identifier",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "BA0F22C9-8D07-4FDB-8E76-08139DE5F906"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "title",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Linear event",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "title",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "BA0F22C9-8D07-4FDB-8E76-08139DE5F906"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "issueUrl",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Linear event",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "url",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "BA0F22C9-8D07-4FDB-8E76-08139DE5F906"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "codeBody": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "const tally = Array.isArray(votes) ? votes.map(v => `${v.option} ${v.votes}`).join(', ') : '';\nconst sameRequest = fingerprintNow === fingerprintAsked;\nconst decided = status === 'decided' || status === 'implemented';\nconst ship = sameRequest && decided && outcome === 'Ship it';\nlet why;\nif (!sameRequest) why = 'The decision was edited after it was proposed, so its answer is not applied.';\nelse if (status === 'rejected') why = 'The release approver rejected it in Verdo.';\nelse if (decided) why = `Decided in Verdo: ${outcome}${tally ? ` (${tally})` : ''}.`;\nelse why = `The vote closed without a result${tally ? ` (${tally})` : ''}.`;\nreturn {\n  ship,\n  comment: ship\n    ? `Release approved in Verdo: **Ship it**${tally ? ` (${tally})` : ''}. Decision record: ${link}`\n    : `Release not approved. ${why} Decision record: ${link}`,\n  followUpSummary: `Follow up on held release ${identifier}: ${title}`.slice(0, 250),\n  followUpDescription: `${why}\\nLinear issue: ${issueUrl}\\nVerdo decision: ${link}`,\n};"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "Outcome",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Check the answer against the request",
        "nextElementIds": [
          "90EF9280-5E95-43C9-B3E7-44BF75ADE55C"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      }
    ],
    "firstElementId": "BA0F22C9-8D07-4FDB-8E76-08139DE5F906",
    "groups": [
      {
        "clientMetadata": {
          "elementId": "triggers-group",
          "isFirstElement": false,
          "blockDefinitionId": "triggers-group",
          "viewport": {
            "x": 0,
            "y": 0,
            "zoom": 0.8
          },
          "position": {
            "x": 514,
            "y": 1029
          }
        },
        "flowElementId": "5284B102-1EA3-461C-975B-D91179B522E5",
        "groupId": null,
        "id": "971579FF-8AC7-4BA5-BD98-9E81A42C6804",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "occurWithin": null,
          "occurrenceTimeUnit": null,
          "onFailElemId": null,
          "resultAlias": "Verdo answer",
          "storeResult": true,
          "transitionMode": "ONE_OCCUR"
        },
        "name": "Until the approver decides",
        "nextElementIds": [
          "A2DC7B8E-1DD4-4C89-A8EE-D0427C64668E"
        ],
        "nextGroupIds": [],
        "type": "TRIGGERS"
      },
      {
        "clientMetadata": {
          "elementId": "triggers-group",
          "isFirstElement": false,
          "blockDefinitionId": "triggers-group",
          "viewport": {
            "x": 0,
            "y": 0,
            "zoom": 0.8
          },
          "position": {
            "x": 485,
            "y": 1199
          }
        },
        "flowElementId": "F30AF8A1-F0FD-44FE-BFA9-F91DFAC7EB6A",
        "groupId": null,
        "id": "5211BCDD-D63F-4658-9B88-CE6CB92C6606",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "occurWithin": null,
          "occurrenceTimeUnit": null,
          "onFailElemId": null,
          "resultAlias": "Escalated answer",
          "storeResult": true,
          "transitionMode": "ONE_OCCUR"
        },
        "name": "Until the escalated decision settles",
        "nextElementIds": [
          "266025BE-18E5-4263-BAC3-21BB3B1EFFD4"
        ],
        "nextGroupIds": [],
        "type": "TRIGGERS"
      }
    ],
    "id": "AEBCC4B0-0739-468F-8DCE-FC343394A30F",
    "metaInfo": {
      "clientValidationState": {
        "errorMessage": "Please fix problems before start. Blocks with issues have red badge in the top-right corner of a block, hover it to see what needs to be done.",
        "valid": false
      },
      "errorMessage": "Please fix problems before start. Blocks with issues have red badge in the top-right corner of a block, hover it to see what needs to be done.",
      "executionStaticData": [
        {
          "description": "The name of the Linear workflow state that asks for a release decision.",
          "error": null,
          "name": "Review state",
          "type": "STRING",
          "value": ""
        },
        {
          "description": "The ID of the Linear workflow state an approved issue moves to.",
          "error": null,
          "name": "Approved state ID",
          "type": "STRING",
          "value": ""
        }
      ],
      "initialData": null,
      "initialDataDefaultValues": {},
      "ownerFlowVersionId": null,
      "schedule": null,
      "sharedMemory": {
        "anchor": {
          "missingAnchorPolicy": null,
          "path": null,
          "type": "FLOW_MEMORY"
        },
        "expirationInSec": null
      },
      "wasLive": false
    }
  },
  "slaCalendars": [],
  "slaGoals": [],
  "subFlows": [],
  "exportDate": "2026-12-02T01:44:01.905Z"
}
