-
1. Re: Marshal method is called multiple times on a single user task
swiderski.maciej Feb 11, 2015 1:36 AM (in response to melissa.ferenal)it will call the marshaling for every variable. Does it call multiple times for single variable as well?
Anyway, your marshaling strategy should be capable to cope with both initial persist of the variable and updates as well. This is because engine will call it whenever it attempts to persist its state
HTH
-
2. Re: Marshal method is called multiple times on a single user task
melissa.ferenal Feb 11, 2015 4:58 PM (in response to swiderski.maciej)Thanks Maciej for the reply.
I only have 1 data object(3 fields) assigned to a user task but it calls the marshal method 5 times after submission.
Actually, I've already enabled my marshalling strategy to handle updates when the record exists but I was just curious about the number of times the marshalling method is called after submission since I may have to send a REST request every time the data is created or altered.
-
3. Re: Marshal method is called multiple times on a single user task
swiderski.maciej Feb 13, 2015 1:57 AM (in response to melissa.ferenal)that should not happen, I'll take a look and write a test to make sure that single variable is persisted/updated only once. If you have a standalone reproducer then please file a jira with it as that will make the investigation way faster.
HTH