Im using the 'HTMLToPDF' Activity to generate a PDF and then calling 'AttachToWork' in the same activity to attach that PDF to the case.
After the PDF attach, I am using an assignment shape to route to a worklist.
So I have utility shape to call the activity and then a assignment shape to rouute to worklist. But after the ulitility shape ends, I get the below warning and the flow ends. It does not enter the assignment, routing doesnt happen and hence my case if getting routed to the default work basket.
Warning: The work page pyWorkPage has unexpectedly been reverted to an older version.
Any pointers are greatly appreciated.
***Updated by moderator: Lochan to add Categories***
In any of your activity , are you renaming pyWorkPage or removing pyWorkPage by using methods like Page-Remove or Page-Rename ? If yes then you have to modify the design so that no such renaming or removal takes place .
I agree with Binod here. I guess a pending deffered save is happening once the WO reaches the assignment and the system tris to assign it to the given WO. See if you have any Obj-Save within the utlity. If so commit the save using the Write-Now check box. Let us know if that helps.
Posted: 6 years ago
Posted: 19 Jan 2017 6:52 EST
John Pritchard-Williams (JOHNPW_GCS)
Client Support Team Lead
Actually : I think we might want to *avoid* any explicit COMMITs here ? The Flow itself should take care of that (I think).....You might need two copies of your Activity (or a parameter to change the behaviour) - one with a COMMIT (to test from Designer Studio) and one without COMMIT (for using within Flow).