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

Custom workflow and custom Agents executing the task


I have a problem with my custom WOrkflow.

I would like to assign the agents for my custom activity.

When I set the Task properties and Agent Assignment to General Task, it works fine - but everybody

gets the entry in SAP Inbox.

I have a Z-table with usernames, where allowed users are stored to execute the task.

I have created a Rule in Agents, with function module to determine the agents.

But I see I have also to change the General task flag, and when I remove it, I have

only the possibility to use the Work center/Role/Job/Org Unit etc.

How can I make my task being assigned only to my users from z-table?


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Oct 13, 2010 at 06:56 AM


    The right approach would be creating a rule , in which you have to select the rule type as EXECUTE FUNCTION MODULE TO DETERMINE AGents.

    Develop a function module and assign this rule to the task , which you are sending for the approval.



    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2010 at 01:33 PM


    In the Task, if you are click the Agent Assignment Button, there is one icon to add the user. You can use that button or you can use the key F5 to add any user's on it.

    But My doubt is, you can pass the workflow container with the user's you maintained in the Ztable. You can create the method to populate the user from ztable to your workflow container.



    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.