cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use the roles in work flow

Former Member
0 Kudos
92

Hi Experts,

I am having a requirement to send the mails to the particular roles, when the status of the document is changed.

how can I accomplish my requirement?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

1. Create a task with the business object: Selfitem

method: sendtaskdescription

2. Put the mail contents in the Description tab page of the task.

3. and in the Agent assignment of task - select the option Role and mention the role to assign.

Hope this will solve the problem.

Reward with points if the problem solved.

With regards,

Manikandan R

Former Member
0 Kudos

Hi,

Use the T-Code PPOMW and create a new role.

Thn use the f'n module SWI_GET_USERS_OF_ORG_UNIT to get the users under the rule.

The actor_tab table recieved from the function module wd contain the users.Pass this table to a multicontainer element and Use the same element in the Send mail step.

hope this will help.

Regards,

Sam

Message was edited by:

samson lam

Former Member
0 Kudos

Hi,

One cant assign role to Send Mail step .

All you need is to create your own task with Send Mail Object and method .

In this task you can assign Role .

Regards ,

Urjit

Former Member
0 Kudos

To a mail step you can not send a mail to the rule directly but indirectly:

.....________________

.....|wait step for event|

.....----


........_|______________________

......|.Rule filles the internal table|

......----


.......__|____________________________

......|.Sending mail to internal table users|

......----


.........|

.........|

Former Member
0 Kudos

Hi Arasu,

you have some possibilities to do that.

I would in my 620 system in mail sending there is no rule to assign directly.

I create a background task before mail sending step, which process the rule and fill an internal table with the result (for example organisational object).

This internal table you can use then to send the mails.

Regards

Tibor