FlowmageDocs

Publish contract

BetaChanges data

Sends a Oneflow contract out for signing with a subject and a message.

Settings

SettingWhat it is
ConnectionRequiredThe Oneflow connection the step signs in with.
Contract idRequiredThe contract's Oneflow id — a number.
SubjectRequired1 to 150 characters — Oneflow's own bound.
MessageRequired1 to 5,000 characters — Oneflow's own bound.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `oneflow`)
contractIdtext
subjecttext
messagetext

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>",
    "message": "<message>",
    "subject": "<subject>"
  },
  "label": "Publish contract",
  "type": "oneflow.publishContract",
  "version": 1
}