Initiates a process from a draft process

PUT {{baseUrl}}/v2/draftprocesses/:draftprocess_id

Initiates or updates a workflow based on the provided action.

If action is initiate ,workflow intance will be created based on the draftprocessid passed in the path with comment as optional filed .
if action is formupate , data passed via values body parameters will be set to form data prior initiating the workflow .

Examples

  • To initiating the workflow with comment as optional.

  • body:{action:Initiate,comment:start}

  • To prepare the workflow with empty values before initiating the workflow

  • body : {action:formUpdate,values:{WorkflowForm:{}}}

  • To update the form of workflow before initiating the workflow

  • body : {action:formUpdate,values:{"WorkflowForm
    1x4x1x2:ABC"}}

    Request Body

    [{"name"=>"action", "value"=>"fugiat ut", "datatype"=>"string"}, {"name"=>"comment", "value"=>"amet aute culpa magna", "datatype"=>"string"}, {"name"=>"values", "value"=>"do ut ut", "datatype"=>"string"}]
    

    HEADERS

    KeyDatatypeRequiredDescription
    Content-Typestring
    Acceptstring

    RESPONSES

    status: OK

    {"links":[{"data":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"data":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}],"results":[{"custom_message":"in ex officia quis","process_id":84832660},{"custom_message":"irure Lorem","process_id":2349407}]}