Workspace A spawns 3 items in workspace B.
When a change is made to workspace A, a closed loop transition "amendment" can be ran which has a script actioning a workflow transition in each of the items in workspace B.
This transition in workspace B copies over selected data from workspace A, and then emails a contact with an advanced print view of the item.
The problem I'm having is that none of the data is copied over from workspace A, if the Advanced print view is used in the email. The email however is sent with the old information.
If I replace the advanced print view of the email with "test", the script DOES update workspace B AND sends the email with the updated information.
so basically:
script works as intended WITHOUT advanced print view as email.body.
script only does the emailing part of the script WITH advanced print view as email.bod
Anyone got a solution to this?
Cheers
That does sound strange.
It sounds like the script in B is responsible for doing the copy and the sending of the email. Can you modify the script in workspace A to copy some data earlier?
So before the script in A spawns the transition in Workspace B, copy the data over from A (as part of the script in Workspace A) - then the script in workspace B only has to send the email.
It's not a fix, just a workaround at best.
What you suggested has worked, thanks!
Gets a bit lairy as I've a for loop in a for loop referencing a matrix from a matrix.
Yeah...