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.
Similar Messages
-
How to assign a dynamic value to the value property of a button ?
Hi Folks,
I have a need, can i know how to assign a dynamic value to the value property of a button. Scenario is like follows...
This is a struts based web application
1. I have a file which consists of login user details (user name and his previlages) for a web application.
2. I got those user details, into a List.
3. When a user logged into the web app, in the home page there are few buttons. The type and number of buttons shown depends on the type of user/ user. (Buttons have different combination and the number of buttons available are not constant, they will vary from user to user).
4. for each button, there will be a different action. I can pass the value of a button to an action class, but here button must have a dynamic value.
Here is my test code:
<%
if (List != null)
for (int i = 0; i <List.length; i++)
%>
<html:submit property="rduname" value= "<%=List%>" onclick="return submitRdu('<%=List[i] %>');"/>
<%
%>
But my problem is how to assign a dynamic value to the value property of the button ( i know 'value= "<%=List[i]%>" ' will not work, just wanted show you guys).
Thanks in advance,
UV
Edited by: UV_Dev on Oct 9, 2008 2:15 PMLet me try i know am not good at JSP but do we need double quotes here
value= <%=List%>i think JSTL should help you about the dynamic thing -
How to assign the dynamic value of PV to Sip Header in ICM?
Hi everybody,
I would like to ask your help, please. We are working on Temporary IVR Handoff (ICM+CVP). I need to add/modify a customer Sip header in ICM transfer script. The value for that header is dynamic and stored in the one of ICM Call Peripherial Variables (PV9, for examle).
Is it possible somehow to assign the value of that PV9 to Sip header (Set Variable Call.SipHeader)? I tried to do it but unfortunally without any success. I can assign any static string, but how to assign the value of the PV??? That's the question...
For static string assignment the syntax of the Set Variable Node (Call.SipHeader) looks like that:
"IVR-Handoff~add~It's Cisco"
and it works fine.
For dynamic value (PV9) I tried:
"IVR-Handoff~add~Call.PeripherialVariable9" - it add Call.PeripherialVariable9 as a string, but not it's value;
"IVR-Handoff"~add~Call.PeripherialVariable9 - returns a syntax error;
Call.PeripherialVariable9 - no Sip header is added.
What do you think? Is it doable at all?
Any ideas, answers or examples how to do it would be much appreciated.
Thank you in advance.
Dmitriy.Hi Senthil,
Yes! It works, but with the little difference. The right answer is:
"IVR-Handoff~add~"&Call.PeripherialVariable9
(Call.PeripherialVariable9 is without quotes, otherwise it insert the name of the variable, but not it's value)
The other solution is shown here (thanks to Paul Tindall):
http://developer.cisco.com/web/cvp/forums/-/message_boards/message/15627744?p_p_auth=6psgR8ML
concatenate("IVR-Handoff~add~",Call.PeripherialVariable9)
Thank you so much for the idea! I very appreciate your help and vote you. -
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
MnI 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 HaroonThere 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 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 PMHi,
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 -
How to assign a Dynamic VO to a MessageChoice Bean
Hi,
I have VO developed in jdeveloper. I need to assign this VO to a messagechoicebean on a page. But i cannot extend rootAm, hence i cannot attach the VO to AM and then to mesagechoice bean. Hence i implemented the logic iin processrequest of controller as below:
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAPageLayoutBean pagelayoutbean = pageContext.getPageLayoutBean();
OAStackLayoutBean stacklayoutbean = (OAStackLayoutBean)pagelayoutbean.findIndexedChildRecursive("xxdbdIROneTimeAddressRN");
OAApplicationModuleImpl am =(OAApplicationModuleImpl)pageContext.getRootApplicationModule();
ViewObject vo = createViewObject("xxdbdGSLCountryVO","dbdcustom.oracle.apps.icx.por.req.server.xxdbdGSLUSAddressVO");
vo.executeQuery();
System.out.println(vo.getDefName());
OAMessageChoiceBean messagechoicebean = (OAMessageChoiceBean)pagelayoutbean.findChildRecursive("dbdCountry");
messagechoicebean.setPickListViewObjectDefinitionName("dbdcustom.oracle.apps.icx.por.req.server.xxdbdGSLUSAddressVO");
messagechoicebean.setViewUsageName("xxdbdGSLCountryVO");
messagechoicebean.setListDisplayAttribute("TerritoryShortName");
messagechoicebean.setListValueAttribute("TerritoryCode");
When i acces the page, i am getting the errors:
Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = xxdbdGSLCountryVO; APPLICATION_MODULE = oracle.apps.icx.por.req.server.RequisitionAM;
Please help me to overcome the issues1. Sample code to attach custom VO to seeded AM:
ViewObject absVO =am.findViewObject("xxConvertedScrVO"); // here am is application module object
if(absVO==null)
absVO=am.createViewObject("xxConvertedScrVO", "abs.oracle.apps.per.selfservice.appraisals.server.xxConvertedScrVO");
// absVO.setWhereClause(null);
absVO.setWhereClauseParams(null);
// absVO.setWhereClauseParam(0,apprID); // use this if required
absVO.executeQuery();2. In your code
ViewObject vo = createViewObject
("xxdbdGSLCountryVO","dbdcustom.oracle.apps.icx.por.req.server.xxdbdGSLUSAddressVO");while creating VO you have mentioned "xxdbdGSLCountryVO" and "xxdbdGSLUSAddressVO" in the same line. This is not correct.
-Anand -
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
MuthukumarHi,
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 generate a PDF 417 Barcode by assigning a dynamic value at runtime?
PDF 417 Barcode Description given in the Livecycle Designer 8.2
: PDF 417 Non-Scriptable Barcode. Value must be assigned to this barcode at design time, and this barcode will not update after form object value changes.
And my question is how to generate a PDF 417 Barcode by assigning a dynamic value at runtime?All the information you described points to the problem that reports seems can't generate to a file which already exist. You can verify that by simply doing
r30run32 C:\AC_REPORT.REP DESTYPE = FILE DESFORMAT = PDF BATCH = YES' desname=c:\temp\ac_report.pdf
several times. If first time the report is successfully generated in c:\temp\ac_report.pdf, but not the second, third time, then it looks like there is a bug on reports r30run32 executable.
You may try to find any latest patch for Reports 3.0 to see if patch can solve you problem. But keep in mind Reports 3.0 is de-supported, you are better to move to 6i or 9i reports.
Thanks,
-Shaun -
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 values to dynamic table
Hi All,
I am working with a dynamic table and an internal table. My internal table looks like this.
Projno Cust Opt Status
g1234 kkkkk p1 I001
g1234 kkkkk p2 I004
g1234 kkkkk p3 I001
g1234 kkkkk p5 I002
g1256 lmnvw p1 I003
g1256 lmnvw p3 I004
g1256 lmnvw p5 I005
g1256 lmnvw p7 I001
My Dynamic table struture looks like this
Projno Cust p1 p2 p3 p4 p5 p6 p7
I need data in my dynamic table from my internal table as follows
Projno Cust p1 p2 p3 p4 p5 p6 p7
g1234 kkkkk I001 I004 I001 I002
g1256 lmnvw I003 I004 I005 I001.
The problem is these operations may vary thats why i am using dynamic table. Even i cannot use case statement as the operations may vary.
Is it possible to do using Assign component or some other way.
ThanksThis program creates dynamic internal table
copy and paste in your program and test it .. debug it to know how it is creating dynamic internal table and values into that table.
report z_dynamic.
type-pools : abap.
field-symbols: <dyn_table> type standard table,
<dyn_wa>,
<dyn_field>.
data: dy_table type ref to data,
dy_line type ref to data,
xfc type lvc_s_fcat,
ifc type lvc_t_fcat.
selection-screen begin of block b1 with frame.
parameters: p_table(30) type c default 'T001'.
selection-screen end of block b1.
start-of-selection.
perform get_structure.
perform create_dynamic_itab.
perform get_data.
perform write_out.
form get_structure.
data : idetails type abap_compdescr_tab,
xdetails type abap_compdescr.
data : ref_table_des type ref to cl_abap_structdescr.
Get the structure of the table.
ref_table_des ?=
cl_abap_typedescr=>describe_by_name( p_table ).
idetails[] = ref_table_des->components[].
loop at idetails into xdetails.
clear xfc.
xfc-fieldname = xdetails-name .
xfc-datatype = xdetails-type_kind.
xfc-inttype = xdetails-type_kind.
xfc-intlen = xdetails-length.
xfc-decimals = xdetails-decimals.
append xfc to ifc.
endloop.
endform.
form create_dynamic_itab.
Create dynamic internal table and assign to FS
call method cl_alv_table_create=>create_dynamic_table
exporting
it_fieldcatalog = ifc
importing
ep_table = dy_table.
assign dy_table->* to <dyn_table>.
Create dynamic work area and assign to FS
create data dy_line like line of <dyn_table>.
assign dy_line->* to <dyn_wa>.
endform.
form get_data.
Select Data from table.
select * into table <dyn_table>
from (p_table).
endform.
form write_out .
Write out data from table.
loop at <dyn_table> into <dyn_wa>.
do.
assign component sy-index
of structure <dyn_wa> to <dyn_field>.
if sy-subrc <> 0.
exit.
endif.
if sy-index = 1.
write:/ <dyn_field>.
else.
write: <dyn_field>.
endif.
enddo.
endloop.
endform. " write_out -
How to assign values to Dynamic VO.
Hi All,
I have created a Dynamic VO and i have created 2 attributes(name and age) for it.
Can i create this dynamic VO in Process form request of one of the CO class?
Please let me know how to assign values to it......and display it and the page.?
Thanks,
Sowmya.Mukul
I am trying to achieve something like below:
Creating a Dynamic VO in my extended controller's ProcessRequest() method and attaching it to a MessageChoiceBean. In ProcessFormRequest() method based on some condition i have to change my Dynaic VO's whereClauseParam and re-execute it so that it will show some different set of values. Below is the code which i used. But after re-executing it my LOV is still showing old set of values. I have posted a query regd. the same but dint get much help. Kindly let me know, if you have any comments. Also Please find the link to my earlier post.
Link: Re: Re-executed dynamic VO not showing new values
* CODE *
ProcessRequest()
ViewObject vo = (ViewObject)am.createViewObjectFromQueryStmt("dummyVO","SELECT MEANING AS VALUE FROM HR_LOOKUPS WHERE LOOKUP_TYPE = :1");
vo.setMaxFetchSize(-1);
vo.setWhereClauseParam(0,"input1");
vo.executeQuery();
OAMessageChoiceBean mesBean=(OAMessageChoiceBean)webBean.findIndexedChild(webBean,"DemoChoiceItem");
mesBean.setPickListCacheEnabled(false);
mesBean.setPickListViewObjectDefinitionName("dummyVO ");
mesBean.setPickListViewUsageName("dummyVO ");
mesBean.setListDisplayAttribute("VALUE");
mesBean.setListValueAttribute("VALUE");
ProcessFormRequest()
If the event is fired
S.O.P(....);
ViewObject vo1 = (ViewObject)am.findViewObject("dummyVO");
vo1.clearCache();
vo1.reset();
vo1.setWhereClause(null);
vo1.setWhereClauseParams(null);
vo1.setWhereClauseParam(0,"input2");
vo1.executeQuery();
S.O.P(....);
Thanks -
Dynamic programming How to assign a static UI element to a static tray
Hi There,
We are enhancing a standard WDA application and we have a few static UI element created on the view. And now we want to rearrange these element to look like this.
Current:
Root
-> Transparent container1
-> ZTray
-> Transparent container2
target
Root
-> ZTray
-> Transparent container1
-> Transparent container2
Can you help me to find out me how can i perform this 'move" assignment using dynamic programming.
Thanks for your inputs.
RgdsHi Sudhir,
You can start trying something like this in WDDOMODIFYVIEW.
DATA:
lo_element type ref to cl_wd_uielement,
LO_CONTAINER TYPE REF TO CL_WD_UIELEMENT_CONTAINER.
IF first_time = abap_true.
LO_CONTAINER ?= view->get_element( 'ROOTUIELEMENTCONTAINER' ).
lo_element = LO_CONTAINER->REMOVE_CHILD( ID = 'ZTRAY' ).
LO_CONTAINER->ADD_CHILD( INDEX = 1
THE_CHILD = LO_ELEMENT ).
ENDIF.
I never did something like that. I guess that depending on the layout type of the view this code will need some changes (e.g matrix layout). I tried a simple test with flow layout and worked fine here. -
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
Maybe you are looking for
-
How to create spaces in a text file
Hi forum i am creating a text file with the GUI_DOWNLOAD function, my problem is that i need to create some lines with spaces at the end of the line. But i can´t, i had concatenate spaces and i have created structures but in the file doesn
-
Change the sequence settings from NTSC 30 fps to PAL 25 fps, is possible?
Hello, I have a finished project that was make in a sequence with the format NTSC 30 fps. Now I need to change that sequence and the project to PAL 25 fps. I have changed the settings of the source secuence to PAL 25, but in the resulting sequence th
-
Remote infrared codes for the Sony STR-DE675 receiver
Where can I find the remote infrared codes for the Sony STR-DE675 receiver? They are not in the Owner's Manual, nor on the Sony.com website. Thanks.GBP
-
Middle tier and infrastructure location
Hi , Does Middle Tier and Infrastructure tier should be on seperate Tier or can they installed on one Tier? Thanks
-
I've downloaded a trial version of RoboHelp 8 and I've created a Web Application Help project. It looks good and runs well when I generate it. My question is, how do I get the files I created onto a server? I have in a folder called "WebHelpTest1" th