Sending Instance dynamically to multiple participant.

I have a situation where the count of receiving participants will very from 1 to 5.
this.participant.next helps in sending instance dyanmically to a participant.
My question was, How do I send the instance dynamically to multiple partipants.
Please help

First thing that comes to mind is to utilize a SPLIT-N JOIN.
Put 1) an AUTOMATIC, and 2) the activity that needs to have multiple participants in between the SPLIT-N and the JOIN. In the code for the SPLIT, iterate over your variable that contains the counter of participants (intParticipantCount) and do the following:
1) set another variable for the desired participant (varParticipant)
2) clone the instance for as many particpants as you have.
In the code of the automatic, put the "participant.next" code and use your varParticipant
So if your process looked like the list below, and Activity 2 was the activity that needed to have a dynamic number of participants:
1) begin
2) activity 1
3) activity 2 (has dynamic # of participants)
4) activity 3
5) end
It would now look like:
1) begin
2) activity 1
3) SPLIT-N
4) Automatic (to set next participant)
5) activity 2
6) JOIN
4) activity 3
5) end
All of this assumes that Activity 2 needs to be completed by EACH user. If this is not the case...for example if you want to assign Activity 2 to a dynamic list of users (1-5) but you only want 1 user of the dynamic list to complete the activity, then I have no proven or tested suggestion, but you could perhaps look into seeing if you can 1) create parametric roles at runtime and 2)modify the members of the parametric role during runtime. if this is possible, then at runtime you would create a new parametric role, add the users to it, and set the parametric value. But this approach is all theoretical. Not sure if you can actually do that.

Similar Messages

  • Same sender id for multiple participant trading partners

    Hi All,
    Although the scenario is little bit less common, but I have to model a Trading partner setup such a way that multiple participant trading partner will send document with same sender id but they will send the document for different unique receiver id. My question is the scenario can be supported in B2B.Thanks for your help.
    Regards.

    Hi,
    As there cannot be two different person with same identity, similarly there should not be TP's with same Id otherwise you will not be able to identify that from whom you received the message and to where you want to send the message.
    Anyways, your use case can be supported in Oracle B2B.
    If you want to create multiple identities of a single host then it's very much supported in Oracle B2B.
    if you want multiple hosts on same instance then it is possible by using HUB model . Please refer -
    Can multiple  hosts exist on single instance
    I am not very sure whether you can have multiple TP's with same Id but as far as I know it is also possible with Oracle B2B.
    Regards,
    Anuj

  • Sending the process instance to a particular participants workspace

    Hi All,
    I am a bit new to Aqualogic BPM. I have to design a process, the requirements of which are as follows:
    The process has three roles:
    - Super Users
    - Supervisor
    - Primary Users
    Super User and Supervisor will have one participant each but the role Primary Users can have multiple participants. The process will be initiated by the Super User, which will go in the Supervisors workspace. Now, the supervisor should have the flexibilty of assigning this intance to any one of the participant in the Primary User role.
    The Approach that i am following (from Supervisor onwards):
    Supervisor will see a presentation where he'll have all the participants of Primary Users in a drop down, from where he can select the participant to whom he wants to assigned. Then i am assigning it to Participant.next but unfortunately when taking the log, Participant.next is coming null.
    I have following queries:
    - Why Participant.next is still coming null?
    - Can't we assign anything to Participant.next?
    - Can we direct the instance to any Participant which is from a different role (just after the role from where we are assigning)?
    - Is there any other approach that can resolve this issue?
    Thanks,
    Akshay

    Have you tried using the lower case version "participant.next" instead? Also, I think this is only available to automatic activities.
    TP

  • Send a message to multiple computers(Not users) from win7/xp command/or scirpt

    Hi Team, is there a way to send a message to multiple windows xp/win7 computers from my win7/xp? 3rd party software,commercial or free, command line,batch or script all welcome. I have a few hundreds of computers, ping-them alive,but I don't know their
    location and user name. I was failed  to push SCCM client to them,some could be in work group or admin$ disabled. so I plan to send a message like " please contact IT department for your pc maintenance by this Friday or this PC will be deleted from
    the corp domain", when the user contact IT, we can RDP or manual install SCCM onsite with user cooperation. The msg.exe can only send to user,instead of computer names. I tried shutdown /m \\pc-name -f -s -t 1200000 "testMessage" but I got alert
    of access denied. though it works if put my local PC name. is there any other way to accomplish this? Many thanks!
    Thanks and best regards, -- KF

    Hi,
    Base on my experience, personally I think solve this case the better method is through your help desk collect the new computer information because consider this: “some
    could be in work group or admin$ disabled”, if there have more workgroup PC, it will always hardly to manage them though a purely technical method.
    About the domain computer, you can refer the following thread I replayed solution, notice a message to users to connect IT department.
    Security Warning Message
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/60c1a896-0996-4e88-ace9-8da2284883f7/security-warning-message?forum=winserverhyperv
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Send a file to multiple hosts

    Hello
    I'm making a program which purpose is to do file system synchro from a reference host to multiple hosts (let's say 10 to 20 for instance).
    That means that I will have to send the same file data to all of these.
    All hosts are in the same private network.
    The files I send could be big so I'm trying to optimize all this. That's why I'm thinking of UDP multicast to do this rather than TCP/IP sockets. However multicast is not that reliable as said in Custom Networking tutorial. So I may have to write a quite complex protocol to achive this.
    So what do you think is the best solution ?
    Thanks for your advice

    Thanks for your advice.
    My problem is that I have to spare bandwidth so I should not send the same file multiple times. A TCP connexion would. That's why I chose UDP.
    I've got another question about UPD :
    Let's say I'm transfering a huge file between server A and server B using UDP. Server A reads the file, splits it into datagrams then sends the packets to B. Now if A is much quicker than B, A will send datagrams quicker than B can process them. Couldn't there be some kind of overflow on B socket ? What will happend ? Packet loss ?
    I guess I should make some kind of synchro to avoid this.

  • Error creating process instance dynamically

    I'm creating a proces instance dynamically using the next statement: ProcessInstance.create
    That statement is invoked by an automatic task that is polling a queue for a message. once the message is retrieved the process is created.
    this process is failling in an environment whit Active Directory configured but is working fine in another one without Active Directory
    is there any workaround to fix this?
    thanks in advanced
    An exception occurred while executing a transaction. Details:
    An error occurred while accesing the database.
    Detail:SQL statement: 'unknown'
    Caused by: Connection closed
    fuego.transaction.DatabaseException: An error occurred while accesing the database.
    Detail:SQL statement: 'unknown'
         at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.getNextInstanceIn(JdbcProcessInstancePersMgr.java:901)
         at fuego.server.persistence.Persistence.getNextInstanceIn(Persistence.java:405)
         at fuego.server.AbstractInstanceService.create(AbstractInstanceService.java:301)
         at fuego.server.execution.microactivity.BeginMicroActivity.createInstance(BeginMicroActivity.java:91)
         at fuego.server.AbstractProcessBean$51.execute(AbstractProcessBean.java:3662)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startNestedTransaction(TransactionAction.java:527)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:548)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.server.AbstractProcessBean.internalCreateInstance(AbstractProcessBean.java:4320)
         at fuego.server.AbstractProcessBean._doCreateInstance(AbstractProcessBean.java:3670)
         at fuego.server.AbstractProcessBean.createInstance(AbstractProcessBean.java:667)
         at fuego.server.AbstractProcessBean.createInstance(AbstractProcessBean.java:746)
         at fuego.components.Process.createInstance(Process.java:106)
         at fuego.components.ProcessInstance.create(ProcessInstance.java:392)
         at fuego.components.ProcessInstance.create(ProcessInstance.java:503)
         at fuego.components.ProcessInstance.create(ProcessInstance.java:461)
         at system.DispatcherDeOrdenesProc.Default_3_0.Instance.CIL_leerColaAIA(Instance.xcdl:18)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:1089)
         at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1289)
         at fuego.server.execution.GlobalAutomaticJMSListeningHelper.executeJmsListener(GlobalAutomaticJMSListeningHelper.java:94)
         at fuego.server.AbstractProcessBean$43.execute(AbstractProcessBean.java:3026)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.server.AbstractProcessBean.runGlobalJmsActivity(AbstractProcessBean.java:3032)
         at fuego.server.execution.GlobalJMSExecutor$1.run(GlobalJMSExecutor.java:126)
         at fuego.ejbengine.EJBProcessBean.executeTask(EJBProcessBean.java:149)
         at fuego.server.execution.GlobalJMSExecutor.execute(GlobalJMSExecutor.java:107)
         at fuego.ejbengine.EJBGlobalJMSExecutor.access$400(EJBGlobalJMSExecutor.java:43)
         at fuego.ejbengine.EJBGlobalJMSExecutor$JMSExecutorWorker.run(EJBGlobalJMSExecutor.java:213)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused by: java.sql.SQLException: Connection closed
         at weblogic.jdbc.wrapper.JTAConnection.getXAConn(JTAConnection.java:197)
         at weblogic.jdbc.wrapper.JTAConnection.checkConnection(JTAConnection.java:68)
         at weblogic.jdbc.wrapper.Connection.preInvocationHandler(Connection.java:93)
         at weblogic.jdbc.wrapper.Connection.prepareCall(Connection.java:527)
         at fuego.jdbc.FaultTolerantConnection.prepareCall(FaultTolerantConnection.java:388)
         at fuego.database.oracle.OracleDatabaseManager.getNextValForSequence(OracleDatabaseManager.java:137)
         at fuego.server.persistence.jdbc.JdbcProcessInstancePersMgr.getNextInstanceIn(JdbcProcessInstancePersMgr.java:898)
         at fuego.server.persistence.Persistence.getNextInstanceIn(Persistence.java:405)
         at fuego.server.AbstractInstanceService.create(AbstractInstanceService.java:301)
         at fuego.server.execution.microactivity.BeginMicroActivity.createInstance(BeginMicroActivity.java:95)
         at fuego.server.AbstractProcessBean$51.execute(AbstractProcessBean.java:3662)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startNestedTransaction(TransactionAction.java:527)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:548)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:213)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:125)
         at fuego.server.execution.EngineExecution.executeImmediate(EngineExecution.java:66)
         at fuego.server.AbstractProcessBean.internalCreateInstance(AbstractProcessBean.java:4320)
         at fuego.server.AbstractProcessBean._doCreateInstance(AbstractProcessBean.java:3670)
         at fuego.server.AbstractProcessBean.createInstance(AbstractProcessBean.java:667)
         at fuego.server.AbstractProcessBean.createInstance(AbstractProcessBean.java:746)
         at fuego.components.Process.createInstance(Process.java:106)
         at fuego.components.ProcessInstance.create(ProcessInstance.java:392)
         at fuego.components.ProcessInstance.create(ProcessInstance.java:503)
         at fuego.components.ProcessInstance.create(ProcessInstance.java:461)
         at system.DispatcherDeOrdenesProc.Default_3_0.Instance.CIL_leerColaAIA(Instance.xcdl:18)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at fuego.server.execution.EngineExecutionContext.invokeMethodAsCil(EngineExecutionContext.java:1089)
         at fuego.server.execution.EngineExecutionContext.runCil(EngineExecutionContext.java:1289)
         at fuego.server.execution.GlobalAutomaticJMSListeningHelper.executeJmsListener(GlobalAutomaticJMSListeningHelper.java:94)
         at fuego.server.AbstractProcessBean$43.execute(AbstractProcessBean.java:3026)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
         at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:472)
         at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
         at fuego.transaction.TransactionAction.start(TransactionAction.java:213)
         at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:125)
         ... 9 more

    Hi...
    I guess there is no problem with classpath. The program identifies the directory.xml But what happens is when the program executes, the directory.xml file gets corrupted by adding "=" . The corrupted file is pasted :
    <?xml=version="1.0" encoding="UTF-8"?>
    <?fuego=version="6.0.3" build="86775"?>
    <DirectoryConfiguration>=
    <id>default</id>=
    <description>Default=Directory Configuration</description>
    <admin>admin</admin>=
    <adminPass>&lt;encrypted&gt;gGocbn15UL8=</adminPass>
    <presets>=
    <preset=name="xobjects">
    <property=name="participant" value="admin"/>
    <property=name="participant_password" value="&lt;encrypted&gt;gGocbn15UL8="/>
    </preset>=
    So it doesn't recognizes the default id in the directory.xml. Is there any patch or fix available. I don't know why the file gets corrupted. Kindly response if anyone has faced similar problem.
    Regards
    Lin

  • Dynamic URL - multiple email addresses

    Hi
    We would like to send an email to multiple users in a SharePoint list with a specific InfoPath URL which would only be accessible to an individual user.
    The list contains the users email addresses with the web address to that individual's specific form URL. We managed to create a form which the users can select multiple addresses to send the email alerts to. The email addresses all string together with ; and
    are sent correctly.
    I would just to like to send a dynamic URL to each user which changes depending on the email address that we used. For example, Mike is associated with a url - mikesform in the list. I email Mike and John and I would like in the body of the mail, a single address
    which changes - mikesform/johnsform. Is this possible?
    I hope my explanation makes sense and I would really appreciate any suggestions>
    Thanks
    Tony

    I'm having a hard time wrapping my head around the details honestly..
    Have you looked into SharePoint Designer? You're able to send emails that include list column variables. For example, you can send an email to "Assigned to," and include the "form URL" list column. This way, each email that is generated uses the information
    from the list item it's triggered on.
    Maybe that can at least get you down the right path :)

  • Send invoice (copies) to multiple email address

    Hi,
    Is it possible to send invoice(copies) to multiple email address? how?
    Understand that we can maintain multiple email add for a customer. Example if 5 email add has been maintained for customer A, let say if I need to email 1 original invoice to email add 1 and email the other 2 copies invoice to email add 2 &amp; 3 , how do I select the email add 1, 2 &amp; 3 from the customer under the OUTPUT of change invoice (VF02) when we only input the customer code under Partner?
    Appreciate your inputs on the above.

    Hi,
    I think it is possible to send invoice copies to multiple email addresses using comma in between them.
    Regards,
    Sarosh

  • How to send job postings to multiple third party sites using the XML output

    Dear Friends,
    We are Implementing Irecruitment for our client, Client requirement is how can we send job postings to multiple third party sites using the XML output from i-Recruitment
    With regards
    Surya
    .

    Can you be more specific about your Requirement. In General, Please navigate to iRecruitment Recruiter Responisbility.
    Then Select, Setup > Recruiting Sites. Here, you can configure your Third Party Websites information and attach stylesheets. The default mode oracle sends the vacancy information is HR-XML Format.
    If you would like to select more sites information select "Add Another Row".
    Then, you can see this information while "New Vacancy Creation Process".
    iRecruiter.
    Edited by: iRecruiter on Oct 18, 2009 7:43 AM

  • How can i send a email to multiple people on my ipad2 using the contact and group list downloaded from my iMac.  Thank you

    I am 63 yrs old and not to computer literate.  I know how to send an email to multiple people using my contact list and groups on my IMAC.  I tried using a group name downloaded to my Ipad2 from my IMac.  It does not work.  If I choose a single email address it works.  Any idea what I am doing wrong?
    Thank you for your paitence and help.
    Steve

    You are not doing anything wrong. The feature that you need is totally lacking in the built in Mail app on the iPad.
    There are a couple of third party mail apps that will let you do this ... MailShot and Group Email with Attachments. You can check them out in the App Store.

  • How can I send a message to multiple contacts using "groups".

    How can I send a message to multiple contacts using "groups".
    It was easy on my sony ericssonn....do i need to download an app?

    There is no group send option like you are looking for.
    To send to a group you have to pick each person you want to send to and send as a group that way. Then don't delete that SMS thread and you can reuse it again later.
    As for an app, well SMS works via your carrier and the OS, not something an App can do unless the app send the data to them (a third party) and then they relay it to the carrier. Do you really want to be sending your SMS to some 3rd party first?

  • Send Payment advice to multiple email ids

    Hi,
    We have requirement that payment advice need to be send to multiple vendor email ids.
    I have implemented SAP note Note 1033893, which says after applying the note the email can be sent to multiple email ids by seperating the email ids by space in field c_finaa-intad in BTE 2040.
    But when i am trying to send the email to multiple ids is not going , when i tried to send with one email id . its working fine.
    i am using RFFOAVIS_FPAYM to send the payment list.
    Please help if you know any solution..
    Thanks,
    Geeta

    Hi,
    Create the distribution list and maintain the email ids in that.
    T.code : SO23 - to create a distribution list.
    And fuctional consultant that whether they can assign this distriution list in SRO to get the all email ids or u may have to write code in user exit.
    Thanks.
    Balu

  • Does the sender SOAP adapter support multiple operations per interface

    Hi guys,
    does the sender SOAP adapter support multiple operations per interface? (interface type of 7.1)?
    Thanks,
    Andrzej

    theoretically Yes.
    Do have a look into this when you get time
    /people/shabarish.vijayakumar/blog/2010/09/08/service-interface-and-multiple-operations--is-it-just-an-hype

  • Sending email notifications to multiple IDs from lookup?

    Is it possible to send email notifications to multiple ids by putting them in the decode column of a lookup separated by semicolon or nay other identifier?
    OR is there any other way of sending email notfications to mutiple ids (not through Java mail) ?
    Thanks,
    Abhi

    Try this to fetch the emails ids from the Lookup.
    Suppose you have got a string say x from Lookup using "Lookup Definition.Lookup Code Information.Decode"
    String x = "[email protected];[email protected];[email protected]";
    StringTokenizer AA = new StringTokenizer(x.trim(), ";");
    while(AA.hasMoreTokens())
    int i = 0;
    while(i <= AA.countTokens())
    String B= AA.nextToken();
    AAList.add(B);
    i++;
    Now you have the list just make a for loop
    sendMail.setSubject("SUBJECT");
    sendMail.setBody("BODY";
    sendMail.setFromAddress(from);
    for (int i=0;i<emailList.size();i++){
    String email = AAList.get(i).toString();
    sendMail.sendEmail(email);
    If you need any help, let me know. I think we have written the whole code here. :-)

  • Send PDF attachment to Multiple Receipents - SD Document Output Type

    Hi,
    i have created a new output type in v/30 transaction for the sales order to send externally (i.e. as Email attachment). Output type ZWWW and Application V1. In the mail Title and texts entered the title (Subject). In the processing routines selected medium as u201CExternal Sendu201D and program /SMB40/RVADOR01, Form routine as ENTRY and also inputted the custom smartform name in the PDF/Smartform form. In the partner function tree, selected sold-to party (SP) for External send. SAVEd it.
    The above setup will send email to just one email id maintained in the customer master. I wanted to send the email to multiple email ids.
    Any suggestions on how to go about doing this?
    Thanks,
    Balaji

    Hi,
    You can specify the Partners in partner functions in NACE transaction as you already given to sold-to party.
    Regards,
    Raju.

Maybe you are looking for

  • How do I sync my VS-2480CD to my macbook pro via midi/usb

    I'm trying desperately to connect my VS-2480CD to my macbook pro and sync it with Logic. The VS2480 is my father's and is a generation older than me, so I've been hard pressed to make this operation work. I have tried installing drivers, dropping con

  • Insert Form Wizard

    When I create a form using the Insert Record Transaction Wizard, It validates the data using javascript and php. But, if I create my own form and just use the insert record transaction server behavior it only validates the data using javascript. How

  • EBS HTTP SERVER CONFIGURATION

    Hi Friends, I am learning to configure the EBS http server. Where do I find the file the contains the DAD (database access discriptor)? I read the docs and it told me to run http://titan.ebs.com:8000/pls/admin_/ but it as asking a password. What is t

  • Banner with customer logo in top of E-Recruiting

    <b>I am trying to find out how to add a banner in the top of the E-Recruiting BSP applications containing a customer logo</b> I have looked into various documentation, older topics and blogs on how to modify themese for BSP - but I have not been able

  • SelectOneMenu disables itself after facesMessage

    Hello All, I have been working this for a while now and not really sure how to get around it. I have a SelectOneMenu populated with selectItems inside a form. The required attribute is set to true and the requiredMessage attribute is set to "Please s