Traceability of data on invoke #202
-
Hi @ralphhanna, I would like to clarify something specific for User Tasks. I use Now, I can invoke like Say, my output for all user tasks is structured like This output is merged into instance's data. But in the next User Task, these values would be replaced by that particular new output. But I would like to have a traceability of the data produced by User Tasks without one overwriting the other. How to achieve this? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 5 replies
-
Hello @MaheshkumarSundaram To store values in item.vars = item.input;
item.input = {}; // so instance.data will not save the input as usual Please let me know if this meets your request? Thanks |
Beta Was this translation helpful? Give feedback.
-
Sorry, using ‘validate’ trigger
Sent from my iPhone
On Jun 11, 2024, at 3:43 PM, Maheshkumar Sundaram ***@***.***> wrote:
@ralphhanna<https://github.com/ralphhanna> But how to assign this while invoking? The data is provided by the users when completing a user task dynamically as required.
—
Reply to this email directly, view it on GitHub<#202 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AC2XVKDXVI4RDOWYB635PU3ZG5HPHAVCNFSM6AAAAABJEDE2UCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TONBTGEYDC>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
You need to modify the model: |
Beta Was this translation helpful? Give feedback.
-
If I understand correctly, |
Beta Was this translation helpful? Give feedback.
-
Correction to earlier note, the correct syntax is as follows: item.vars=item.input;
delete item.data.needsRepairs; // if you want to remove values from instance.data |
Beta Was this translation helpful? Give feedback.
-
Hi @MaheshkumarSundaram |
Beta Was this translation helpful? Give feedback.
Correction to earlier note, the correct syntax is as follows: