I have defined a custom global role approval workflow which has code to check the approver, escalation parties of the role and trigger Mandatory access call's for the role.
The workflow has lot of code, with many script and extension nodes. It worked fine for a while, but when i keep adding more custom code, workflow is getting corrupted.
I guess its the length issue of erxml of the workflow. When i tried to copy erxml of the workflow to a notepad, only half of the code is copied.
Do you think its related to length issue of erxml? Is there any limit on erxml length ?
Please help me out if you have any pointers.
Thanks in Advance !!
Pinned topic Global Workflow erxml is corrupted
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-11-14T23:13:59Z at 2012-11-14T23:13:59Z by SystemAdmin
Re: Global Workflow erxml is corrupted2012-11-14T08:14:50ZThis is the accepted answer. This is the accepted answer.This is known and IIRC there has been fixes in this area - also ensure you are using the latest Oracle Java - but the way to get a definitive answer is to raise a PMR.
My advice is anyhow to break down your big workflow into more manageable operations - it is not good practice to build these big workflows.
You can call other operations from your workflow - this makes it possible to reuse code efficiently. The overhead is limited, but not negligible - so always code with performance in mind.