How to choose form outcome trough REST API?

Hi all,

In a process I’ve a user task that as a associated form. In that form the user enter 2 Integers and choose an outcome, “Product” or “Diference”. The process is defined and deployed with flowable apps. Everything works perfectly when the process is instantiated trough Flowable-Task. Now I want to instantiate the process trough REST API (Flowable-task) but i don´t know how to set the outcome via REST API. Can anyone please help with this?

The endpoint I’m using with other processes that do not have outcomes is POST “http://localhost:8080/flowable-task/process-api/form/form-data” with the correspondingly body.

Thanks all

An outcome is stored as “form__outcome” internally.