How to assign agent at runtime

Hello gurus,
I have a small querie.
My requirement is when a workitem is received by a possible agent and he is not responding eventhough he receives repeative mail. I want to assign the new agent at runtime when the actual agent is received more than 4 workitems for the same task.
It means 5th workitem should be diverted to new agent.
Thanks in advance.
Please help me out.
Thanks & Regards,
Siraj Md.
Edited by: siraz ahmed on Dec 15, 2009 3:52 PM

Hi,
1. specify a counter Variable between the loop and increment the counter once the counter is reached 4
if Counter > 4 then
Specify the new agent id in dialogue task 
You want to assign the agent at runtime means we have two options
1. Go to SWIA-> Give the dialogue workitem no -> Select Assign possible agents tab -> Specify the agent id at runtime
2. SBWP ->Select Work item ->Workflow settings ->Maintain Substitution

Similar Messages

  • Multiline container --how to assign agents in subworkflow

    Hello Friends,
      I have mutiline element with 3 agents type wfsyst-sgent. I am triggering a subworkflow and assigned this multiline element in others. Now what is the agent name in the subworkflow. Because it is triggering 3 times the same task to one agent. Why it is not sending to all agents. How to send tasks to individual agents only one.
    Thanks
    Mn

    I think you can sue Workcenter option here. I generally do some coding in User Exit for FM ME_REL_GET_RESPONSIBLE
    which is attached to Rule 20000027.
    For the Release effected step you can add but I think you have to create cuistom Wflow for that. You cannot use WS20000075.
    Thanks
    Arghadip

  • How to assign agent assigment in release strategy WS20000075?

    I have copied  the standard workflow WS20000075 and then created Workflow template and in trigering events tab of the wf template, I have binded the event RELEASESTEPCREATED.I have also done the SPRO settings for release strategy,i.e,that is I have assigned the users for each release code in table T16FW and mentioned the role resolution in the as 1 in the table T16FC.
    The workflow is working fine but I am a bit confused with the agent assigment in the tasks TS20000166 and TS20000168.I have noticed one thing that in the task TS20000166 a default rule 20000027 - Person responsible for PO release,but it does not seem to work.The TS20000168 does not has any default rule for agent.
    Can anyone guide me how i can do the agent assignment for this workflow.
    Message was edited by:
            Babar Haroon

    There is no requirement for default rules.
    Agent for task TS20000168 is assigned in the workflow where it is used.
    If the default rule for task TS20000166 does not seem to work you should first of all check all the obvious potential problems, and secondly (if you haven't found out what the problem is) tell us <u>why</u> you have concluded that it does not work.
    Check:
    1) that the task has either been defined as general task or has possible agents assigned
    2) that your customizing for the release code has "1" as workflow configuration and that there is a valid agent assignment for the code - alternatively "9" as config and the user exit is implemented
    3) that there is overlap between agent assignment for the release code and possible agents for the task

  • How to assign agent dynamically?

    dear experts,
    I wanted to know is there any bapi to determine the agent for the workflow dynamically?
    If so wat is it? & how to use it?
    if no the n wat is the other way to determine agent dynamically.
    please help me out
    Thanks & Regards
    Nigesh

    Hi Nigesh,
    If you can provide more information on the agents then it would be helpful. For what kind of workflow do you want the agents to be determined dynamically? Can the agents be classified on the basis of some key value, e.g. company codes, say for company code 100 the agents are A, B and C and for company code 200 agents are D, E and F, etc. In such a case, you can create Rule (Transaction - PFAC).
    If you can give us more inputs on the scenario of the workflow, how to select the agents, etc then it would be easier for us.
    Thanks
    Anwar.

  • Assigning agent at runtime

    hi..
    I am working on SAP CRM 7 UI. i want that when a person excutes his/her worklist then at that time one can send the same workitem (or a specific no. of workitems) to some other user at runtime. How can it be done ? plz provide me with the suitable
    solution.
    Regards
    Prachi

    I think you swish to have ad-hoc enabled features in your Workflow. For this you need to use ad-hoc enabled features in your workflow. This features are used in SRM workflows.
    Thanks
    Arghadip

  • Work flow issue: Assign agent based on role

    Hi,
    We are facing an issue in SAP workflow.
    How to assign agent based on the role of an employee.
    Thanks for your input.
    Thanks
    Muthukumar

    Hi,
    Make sure that you have configured properly in transaction OMGS.
    If it is done, then we can not do much about it.
    I faced the similar issue and i had to convince the user that it is a porblem.
    PO release workflow has some problems.
    Hope it helps.
    Regards,
    Shashank

  • Assigning agents to responsibility RR_MANAGER

    Hi
    I am new to SRM BRF concept. Please guide me how to assign agent to responsibility RR_MANAGER for shopping cart creation approval workflow scenario. I have already created org structure , activated the following BC for one level approval scenario.
    evaluation ID used : 3EV_SC_600_001_100
    Bus2121 , process shema  : 3C_SC_600_001 .
    Please guide me how to attach my agent from org id to this responsibiliy RR_Manager.
    I have not assigned any area to my org structure and trying to use class /SAPSRM/CL_IM_WF_RR_MANAGER of approver Badi
    Thanks in advance.
    Regards
    Parul.

    Hi Nathan,
    I recently ran in to the same scenario.  I believe I've found the answer...
    There's an MSCluster class called MSCluster_DiskToDiskPartition.  If you take a look at the PartsComponent on there, it maps to MSCluster_DiskPartition.  You can use this value (e.g. \\\\?\\Volume{fdf1028a-b99a-11e2-84d4-0017a4770046}) to
    map it to the Win32_Volume class.  There's a property on the Win32_Volume class called DeviceID.  
    NOTE:  THe logic above only works for mounted volumes.  Also, if the cluster is virtualized, the ID's may not match up.
    If it's not a mounted volume you need to match MSCluster_DiskToDiskPartition.PartsComponent = Win32_Volume.DriveLabel.
    Hope that helps.
    Thanks,
    Jeff
    - Jeff

  • How to assign possible agents at security role / CAG level?

    Hi Experts, How to assign possible agents at security role / CAG level?

    Yes, that's exactly what I'm talking about. In your task maintenance, goto additional data -> agent assignment -> Maintain
    Click on th task, click on the assign button. Choose object type 'Role', enter role.
    Cheers,
    Mike

  • How to assign idoc segment at runtime ??

    Hi ,
    I have a ztable which is maintained via sm30.
    The field1 is a key field and other fields are idocsegment name , idoc field , field value .
    Field1 = key field
    idoc segment name (field2)
    idoc field (field3)
    field value(field4)
    How do i update idoc segment and particular field with field4 at runtime .
    segment name , field and value changes with the matching key field.
      loop at it_edidd into wa_edidd
       where segnam = wa_ztable-idoc_segment.
    wa_seg = wa_edidd-sdata.
    how to assign the field at runtime ?????????????????????????
    how to change the value of field ?????????????????????????
       update edid4 set   sdata =  wa_seg
                          where docnum  = wa_edidd-docnum
                          and   segnum  = wa_edidd-segnum
                          and   segnam = wa_edidd-segnam.
       if sy-subrc <> 0 .
         rollback work .
         write: / wa_edidd-docnum .
       else.
         commit work.
       endif.
      endloop.
    Please help me with the above code .
    Regards,
    Rachel

    Hello Rachel
    You could do this the following way:
    DATA: ls_edidd    TYPE edidd,
               ld_idx         TYPE i.
    FIELD-SYMBOLS:
      <ls_segment>         TYPE any,
      <ld_field>                TYPE any.
    LOOP AT it_edidd INTO ls_eddid
                                 WHERE ( segnam = wa_ztable-idoc_segment ).
      ld_idx = syst-tabix.
      ASSIGN ls_edidd-sdata TO <ls_segment> CASTING TYPE (ls_edidd-segnam).  " <<<
      ASSIGN COMPONENT wa_ztable-field3 OF STRUCTURE <ls_segment>
                                      TO <ld_field>.
      <ld_field> = wa_ztable-field4.
      MODIFY it_edidd FROM ls_edidd INDEX ld_idx.
    ENDLOOP.
    However, be aware that your logic might fail in case of repetitive segments.
    Regards
      Uwe

  • How to assign dynamic image at runtime or on Button Action to a Image UI

    Hi,
         Please let me know is it possible to assign Dynamic Images to Image UI element in a Visual Composer applications. Using Image Manager it is possible, but in my case Image Source i.e URL comes from ABAP RFC, so is it possible to assign Image at runtime.
        Please do let me know is it possible or not, If yes please do share your opinions.
    I am able to show image using HTML Page by passing URL at runtime to HTML page but here, I cant control the Image width & height.
       I am checking for possibility of using some script to manage width & height.
       Thanks a Ton.
    Regards
    Tushar

    Hi,
         Any inputs for the Query? Atleast, If I get some hint, will do to proceed....
    Regards
    Tushar Shinde

  • Error while assigning agent

    Hi,
    I get following error msg when I try to assign agent during RCA setup
    The assignment of server sapsrmqas201 to SMD Agent failed
    Unexpected error during the server name assignation (sapsrmqas201) for agent sapsrmqas201.xxx.xxx.com
    In setup wizard, I choose agent installed on that server and when I click on set button I get this msg.
    Any idea on solution for this.
    Regards,
    Shyam

    Hi
    Do you able to see the SMD agent as green under agent admin in solman workcernter?
    if so try to restart the agent and try to start the setup wizard again,
    Might be the issue with smd connection with Solman? have you registered the SMD to central SLD?
    Please refer to the Diagnostics Setup Guide 7.11.pdf in [http://service.sap.com/diagnostics |http://service.sap.com/diagnostics ]-> media library
    there you find more information on how to set up the connection parameters that are used by the SMD Agent to connect to Solution Manager.
    Thanks,
    Jansi

  • Solution to assign agents

    Dear experts,
    I have a question regarding as the resolution to the agent assignement.
    As in the workflow we have used, the agent who is responsible for a validation is chosen according to his position in the structure organisaiton.
    For example, the accountant of region A park an invoince, then the manager of accounting department in region A will receive the workitem and then validate it.
    I wonder how I could relate my "Stucutre Organisation"(PPOMW) to my workflow.
    Thanks in advance!

    hai
    if u want to creat an rule
    go to trans-pfac and crea a rule and then creat an rule container .then creat resposiblity by specifying intervals and assign agents to it.
    then specify this rule no in wf .
    go through the following link it will be helpfull.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/09/54483940a2d515e10000000a114084/frameset.htm
    regards
    rose

  • How to assign standard texts assign dynamically to smart forms

    Dear Experts
    I need your help in adjusting the smart form texts dynamically. I will explain you the situation please revert me your valuable answers.
    1. I am integrating 12 smart forms using same program.
    2. Out of 12 smart forms 4 forms are having similar kind of template. Client is requesting like create one smart form template.
    3. By creating the standard texts you can assign the standard texts into smart form during runtime dynamically.
    4. Maintain all standard texts for smart forms in another custom table, during run time of the program you can assign the standard texts to smart form.
    5. Here my question is how to assign the standard texts to template texts dynamically ?
    Please revert me your suggessions.
    Thanks for your support.

    Hi Indra neel  ,
    You are maintaining all the standard texts in custom table right, u need to get standard text based on condition which works for your smartform
    than create text module in smartforms and change that to include text and give the variable name or internal tbale with field name in that text name fields and press (>) button and give the remaining fields in that than that will work dynamically

  • UCCX assign Agent for Mail

    Hi Guys,
        Does anyone know how to assign a agent for a specific incoming Email from customer? In our CRM database we have assign a agent for this customer.
        When the customer send us a mail, we want assign this mail to the agent who appoint in the CRM database directly instead of queued into CSQ, does it possible with UCCX 10.5 with Premium License?
        And we also facing another problem is: when the reply mail received from our customer, it will queued into CSQ again, how can we assign the original agent to receive this mail?
    Best Regards.
    Tony Ye.

    Hi Tony
    - I don't believe this is possible. You don't have the same sort of 'scripting' intelligence that you have for voice calls. What you could do is have a dedicated queue per agent; where that agent is the sole member of the associated queue. The queue would have it's own email address, that the agent would need to use as his 'reply' address and that customers would mail to. You could then add other agents to the queue if that agent was not available for any reason.
    - 'Last-Agent Email Routing' is a new feature in UCCX 10.6 (http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cust_contact/contact_center/crs/express_10_6/release/docs/UCCX_BK_UC733F42_00_uccx-release-notes-106/UCCX_BK_UC733F42_00_uccc-release-notes-106_chapter_00.html#UCCX_TP_N5F7CDD2_00)
    Regards
    Aaron

  • Remove assigned agents

    My question is:
    if I want to remove agnets from the list of assigned agents - how do I do that? Is there any existing tool - or do I delete directly form a table - and if so - which one?
    Here is some background:
    I have a workflow that reports on price change errors and creates a workflow to notify people. There is a function that is run to determine who the workflow is assigned to. The workflow is correctly created in all the relevent poeple's workflow inboxes.
    ONce any one of the people look at the workflow - I woul dlike to remove it from the inboxes of the other agents (ie the first person to view it becomes responsible for it).
    To do this - I will need to run another piece of cod e- to remove all the addigned agants fromt he workflow - with the exception of the one that has now been stored as responsible.

    Sadly - it is not happeneing automoatically. It USED to - and then  minor change was made to the application that raises the workflow. While testing that completely unrelated change - discovered taht it no longer automatically removes the worfklow from the otehr agents inboxes once an agent had viewed it.
    Because it USED to happen I am sure it must be possible to force it to happen.
    The only other variable is that we did a service stcak upgrade reicently. Possibly this has effected the functionality.
    Any ideas what is done int he background to have the worfklow automatically vanish from the other agents? If it can be doen in the background - then surely I can alsy call the same functions/methods/whatever explicitly?

Maybe you are looking for

  • Bridge crashes when building cache

    I am trying to index a folder with many images in it. I start Bridge CS4, point it at the folder, and build the cache (with subfolders, with 100% previews), and after a few hours I return to my computer to find that Bridge has crashed. Console messag

  • Updating fireworks impossible !

    Adobe application manager prevents me from reaching the server. Says must be a problem with the internet connection or the firewall settings. Actually, both don't fit. I've fireworks on a laptop and never encountered such problems, even from the same

  • O windows não encontra o driver do ipod

    o windows não encontra o driver do ipod

  • Connecting Ipod to PA System Amp

    I am a bit new to PA systems and amps, so I was wondering if the following setups would work a. Using a 1/4in to 1/4 in. MONO cable, connect one end into a channel on the amp and another end into the ipod using a 1/4 to 1/8 adaptor. b. Using a 1/8 to

  • Oracle enterperise manager start error

    I have oracle database 11GR2 on windows 7 when i want to start enterprise manager , the error in below is shown : Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved.   C:\Users\SHOJAIE>emctl start dbcon