Hi,
My requirement is to attach a document as an attachment to a running workflow / existing workflow at runtime . The type of this document and the type of the package defined in the workflow is same. One of the atrribute of this type has a unique value . Now if I need to find out the worflow ID whose value for that particular attribute is same as that of the document to be attached what DQL query can i use?
If I store the value of this package attribute(variable_attribute1) in a process variable say variable1.
This value is same as the value of that unique attribute ( variable_attribute1)of the document which is to be attached to this workflow.
Can I use dmc_wfsd_element??
If I use " select workflow_id from dmc_wfsd_element where object_name='variable1' " I get multiple workflow id's.
how can I use the value of process variable 'variable1'/ 'variable_attribute1' to find the workflow id??
I need to write such a query in TBO which is triggered when a document is exported . so that this document could be attached to the respective workflow after being exported.
Thanks,
prerna