<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div><br></div><div>Hello WF experts,</div><div><br></div><div>I have a rule where i'm executing a function module to retrieve a certain agent. When sending him the decision work item i want to be able to address him by his name. Is there a way to get the selected agent name automatically so that i can use it in the work item description? I thought of retrieving his name inside of the rule itself and then setting the value in the container and back to the workflow but i was not getting any value in the workflow container element. I'm not even sure if that would work: passing the value back from the rule to the wf container then to the task container so that i can address the agent by his name in the description. I was able to get data from the rule container but not set any values to it using the below code:</div><div><br></div><div>
<p class="p1"> <span class="s1">DATA: </span>lv_dummy <span class="s1">type </span>char30 <span class="s1">value </span><span class="s2">'Hello'.</span><br> swc_set_element ac_container <span class="s2">'v_dummy' </span>lv_dummy.<br><br></p><p class="p1">I also tried binding the _rule_result but it only contains the user id of the selected agent and not his name. I could retrieve the name in a previous step but I was wondering if there's a better way.</p><p class="p1"><br></p><p class="p1">Appreciate your help.</p><p class="p1">Thanks, Ali</p></div>                                            </div></body>
</html>