Need help in workflow.....urgent
I am working in workflow for the first time so need help.I am dealing with document management and has DRAW as the business object.I have created a Z implementation of it.According to the requirement I have to get some agents for sending email and work item parallely.Now my approvers for the document comes from a Z table where there are many other fields also.Now my questions are
1) How can I get the approvers from the ztable to my workflow.I created one container with ABAP dic fields and given structure like the Ztable and field like the dic field.
2) Even after getting the internal table values inside the workflow container how can I bring in the approvers one by one in a loop and check about their decision.I tried with SYSTEM BOR with no luck.
3) The approvers decision is coming from a RFC and I need to trigger the workflow after an event is performed.For that I am using wait for and event.But how do I pass the parameters from the function module to the event container.
Thanks in advance