FlowmageDocs

Update contract

BetaChanges data

Changes a Oneflow contract's name, value, signing period or tags.

Settings

SettingWhat it is
ConnectionRequiredThe Oneflow connection the step signs in with.
Contract idRequiredThe contract's Oneflow id — a number.
NameMany fields are only editable before the contract is signed.
Signing period endstext
Single signtrue/false
Valuenumber
Sign latertrue/false
TagsTag ids as a JSON array, e.g. [12, 15].
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `oneflow`)
contractIdtext
nametext
signingPeriodExpirationtext
singleSigntrue/false
valuenumber
signLatertrue/false
tagsany JSON

Output

FieldType
contractobject
statestring
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
}