Skip to Content
author's profile photo Former Member
Former Member

Workflow Gurus !

I am developing a new workflow , I am triggering this workflow task (decision – approve / reject) from my program using FM and I want to pass one internal table from my program to this workflow (may be as attachment) , so that approver can look into the contents of Int table, that helps him decide , whether to approve / reject.

Is this possible ? any ideas ?

Message was edited by: V bhandari

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 24, 2005 at 09:34 PM

    You can pass the internal table from the triggering program into the workflow and use this in the approval task.

    1. Create a parameter for you business object event. This parameter should be classified as a multiline(table)parameter.

    2. In the triggering program prior to issuing the event. Populate the workflow event container with your table data. In the code below, the parameter 'ChangeMessage' is being populated with my internal table editor_tab. The parameter name is case sensitive, so make sure to use the same spelling everywhere.

    swc_set_element event_container 'ChangeMessage' editor_tab.

    3. On the workflow template, set the binding for the triggering event to pull the table values from your event parameter into a container element within your workflow. Then you should be able to pass this table to any of your other standard tasks via binding.

    4. Once the tables values have been passed to your individual standard tasks, then you should be able to reference the table data in the task description by inserting the variable into the description text.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 21, 2005 at 10:22 AM

    Hi V bhandari,

    If it isn't too difficult, I would recommend to built up the internal table in the first step of your workflow task.

    Regards,

    John.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.