Question:
Hi again,
I was trying to assign role as a recipient in 'send mail step', but it was failed. Is there any certain procedure that I need to do, to be able to assign role as the recipient in 'send mail' step?
Thanks much,
Paijo
Answer:
Try this : Create a wf container element with type syst-AGENT, and store
the role resolution result in that container element. then in the e-mail
step choose "expression" as the reciepent and choose the container element.
Also choose the corresponding reciepent type from the mail task binding. In case your role resolution returns more than one agent you may create a container element with multiline option , i think that should work
_________________
Kind Regards/Vriendelijke groeten/Amicalement,
Wim
Answer:
I agree with Hilven's suggestion, but I'd be inclined to implement a multiline virtual attribute instead of using a container element.
The advantages are:
1) The code for the attribute is only executed as and when the attribute is used, which is more efficient for performance;
2) You do not need to define (or modify) a task to populate a container element & add it as a background activity step.
You can use the function module 'RH_GET_ACTORS' passing your role ID 'ACxxxxxxxx' to fill your attribute.
Regards,
Tim
Answer:
Thanks guys,
You've been very helpful to me...
Regards,
Paijo