How i can retrieve a variable of a specific task?

1
0
-1

Hi,

I would like to get all the variables of an specific task. I have reviewd this documentation :
http://documentation.bonitasoft.com/bpm-api-1#casevariable_

But only i can retrieve the variables that are there in pool not in a specific task(either humanask or serviceTask).

Regards

Comments

Submitted by Sean McP on Tue, 07/19/2016 - 22:18

And when do you want to do this?

Before, during or after the task where the variables live?

regards

Submitted by claz08 on Tue, 07/19/2016 - 22:38

I need to read the value of the variable inside a specific task where this task is not archived yet.

Submitted by claz08 on Tue, 07/19/2016 - 22:38

I need to read the value of the variable inside a specific task where this task is not archived yet.

1 answer

1
0
-1

OK so not a straight answer to my question...

If you are IN THE TASK you should be able to access the local variables NOTE: Only Administrator can see them though, this is in accordance with Bonitasoft not allowing users to see variables.

If you are AFTER THE TASK, (Task 1 has local variables and you want to show them in Task 2) THIS IS NOT POSSIBLE.

Local variables die, decease, are killed, when the task they are associated with ends.

regards
Seán

PS: If this reply answers your question, please mark as resolved.

Comments

Submitted by claz08 on Wed, 07/20/2016 - 14:27

Sorry,
i want to do this during task!
So, how i can get a variable of a task that has not archived yet ?Where is the documentation of API for this issue?

Regards!!

Notifications