Hi,
I have ten (10) optional packages in my workflow and the workflow supervisor will attach 1 or more (up to 10) documents to the workflow later after starting the workflow. For example, if I attach three (3) documents, seven (7) blank documents are automatically created with size 0 bytes and attached to the workflow.
How can I stop creating those blank documents being created at all. Why are they being created even if the packages are optional? To delete those blank documents I used "DQL Write" activity. It is deleting successfully, but the "DQL Write" auto-activity is going to acquired state with the following error:
[DM_WORKFLOW_E_MANU_PACKAGE]error: "Failed to manufacture packages for activity 'DQL- Delete blank documents created' (6) of workflow (4d01883f80005933)."; ERRORCODE: 100; NEXT: DfException:: THREAD: http-0.0.0.0-9080-1; MSG: [DM_WORKFLOW_E_BINDING_PACKAGE]error: "Package binding failed because no object could be identified by package ID (0901883f801eb4eb) with package label 'CURRENT'."; ERRORCODE: 100; NEXT: null
where "0901883f801eb4eb" is the object ID of one of the deleted blank package in the workflow. It means the "DQL Write" auto-activity is going to acquired state because I deleted packages from the running workflow. If I do not delete, the workflow is running fine with seven blank documents traversing through the workflow until the last step in the workflow. My question is how can get rid of these blank documents either from being created or deleting them automatically. I thought of deleting them at the last step in the workflow using "DQL Write", but I am afraid that again it will go to acquired state.
Please share your knowledge and experiences for figuring this out.
Thanks.
ta