How to set workflow variables through Post API using API Builder

Confluence User - 05 Dec, 2023

Hi,
I am starting a process of "application A" using a POST API call from "application B". I want to set value of a workflow variable when the process is started. I have tried looking at the knowledge base but couldn't find much information on how to do it.

Also, is there a way to configure a response of POST API call? 

server;api;jsonapi;response;apibuilder;process

1


07 Dec, 2023
confluenceUser
confluenceUser

Hi, according to Process#Startprocessbycurrentuser it says you can pass in body parameters for the workflow variables. Alternatively, you can use JSON API#web/json/workflow/process/start/(*:processDefId) and pass in parameters prefixed with "var_".

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print