Update contract
BetaChanges data
Changes a Oneflow contract's name, value, signing period or tags.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Oneflow connection the step signs in with. |
| Contract idRequired | The contract's Oneflow id — a number. |
| Name | Many fields are only editable before the contract is signed. |
| Signing period ends | text |
| Single sign | true/false |
| Value | number |
| Sign later | true/false |
| Tags | Tag ids as a JSON array, e.g. [12, 15]. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `oneflow`) |
contractId | text |
name | text |
signingPeriodExpiration | text |
singleSign | true/false |
value | number |
signLater | true/false |
tags | any JSON |
Output
| Field | Type |
|---|---|
contract | object |
state | string |
Sample output, and the expression for each field
- contract{}
- state""
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"connection": "<connection id>",
"contractId": "<contract id>",
"name": "",
"signingPeriodExpiration": ""
},
"label": "Update contract",
"type": "oneflow.updateContract",
"version": 1
}