Assigning multiple users to one action dynamically using Webdynpro

Hi Experts,
In my scenario we need to send a request to list of people dynamically .
How can we pass list of people through context parameter in the block.
I am passing the value through context but only first user in the list getting task in UWL.
It will be very useful if anyone providing any document regarding this.
Thanks,
Rajesh
Edited by: Rajesh on Jun 22, 2009 12:35 PM

Hi Pratik,
I need some help regarding the Parallel dynamic block
In process structure as follows.
Process:
Sequential Block:
->Action1:
DDPTSStatus(0..n)
ReqSequence(0..n)
ListofStakeHoldersforApproval(0..n)
Action2:
DDPTSStatus(0..n)
ReqSequence(0..n)
ListofStakeHoldersforApproval(0..n)
PDB Block:
->Sequential Block:
-->Action3:
Multiline Input
--->DDPTSStatus(0..n)
--->ReqSequence(0..n)
--->ListofStakeHoldersforApproval(0..n)
Multiline OutPut
--->DDPTSStatus(0..n)
--->ReqSequence(0..n)
--->ListofStakeHoldersforApproval(0..n)
Sequential Block:
->Action4:
DDPTSStatus(0..n)
ReqSequence(0..n)
ListofStakeHoldersforApproval(0..n)
I have done parameter grouping for PDB Multiline input (nodes) with Output of Action2 nodes at process level.
While i am trying to initiate action for Multiple users it is getting tasks in all users who are initiated but if one person performs the task action remaining users wont get the task and it will show No activity Present.
I think when i am Passing the values from Action2 output to PDB Action Input the problem is.
I am pasting the code which i wrote complete method of Action2 CO setting values for Multiline Input please correct me if i am wrong
IGPStructure output = executionContext.getOutputStructure();
for(int i=0;i<2;i++)
{ IGPStructure struct_ddptsStatus_out =
output.addStructure("DDPTSStatus");
// Set the values of the output parameters
/////////////development comments/////////////////
struct_ddptsStatus_out.setAttributeValue(
"Status",
wdContext
.nodeVn_DDPTSStatus()
.getCurrentElement()
.getAttributeValue(
"va_status")); }
executionContext.setResultState("Success");
executionContext.processingComplete();
Please tell me whether this code is correct.

Similar Messages

  • GP: Assigning multiple users on one action

    There is a need to appoint more than one user to one action. If one user is not answered, the process should not proceed to the next step.

    Refer this.
    /people/berndt.woerner/blog/2007/09/19/different-ways-to-model-dynamical-assignment-of-user-to-process-roles-using-composition-tool-guided-procedures--part-1
    If you implement by parallel dynamic block way one action is assigned to multple users with different instances.
    As it is in parallel dynamic block untill all the users did not complete the their own action, process will not move fwd. hemce this will solve your problem.
    Regards,
    Pratik khandelwal
    Edited by: Pratik Khandelwal on May 19, 2009 9:22 AM

  • HT1206 Lots of info about one user using multiple computers. What about multiple users with separate Apple IDs using same computer? Having problems getting my wifes new iPhone talking to her apple account on the computer we share (2 users)

    Lots of info about one user using multiple computers. What about multiple users with separate Apple IDs using same computer? Having problems getting my wifes new iPhone talking to her apple account on the computer we share (2 users)

    You need to create a user account for your wife (or yourself depending on who has the current user account). When syncing, each of you should sign in as a separate user, login to iTunes and then sync. I had this problem when my sister got an iPhone. When we did her initial sync, everything on my iPhone showed up on hers. Apple gave me this solution.

  • Assign multiple users to a single role?

    I have a process where I need to assign multiple users to a given role.  In this case, I want one of the users to 'win', and take ownership of the process step.  (Imagine the situation where one user is the primary processor, the other is a backup; if the primary is out of the office, i want the secondary to have the ability to pick up the request).
    I've tried to assign multiple users to the same process role as follows:
    rtm.addRuntimeDefinedUserToRole(prInstance,  roleName, user, userContext );
    but the process is only assigned to a single user - from my testing, it seems to be assigned to the first user specified using the above api call.
    Is there a way to do this programatically?

    Hi,
    Can you please advice how you did this?
    I am using Visual composer as my UI. But with looks like i am not able to pass a structure from VC so i can map it to "Assign Users to Process role" CO.
    Per my understanding I need to write a program using GPI API which populates the User_List structure of the above CO. But after that i am not sure how to use this CO. Can anyone give me detailed instructions on how to use the "Assign Users to Process role" CO to assign multiple users to the role dynamicallly?
    Regards,
    Kumar.

  • Assigning Multiple channels to one Camapign

    Hi Gurus.
    We have a requirement for our business where the marketing user would like to assign multiple channels to a campaign. Is this possible.
    Ex. Marketing dept creates a campaign would like to target all existing customer. Now they want to execute this campaign through, telephone, e-mail, etc.
    My question is it possible and if so how can we assign multiple channel for one campaign execution.
    Unfortunately this a urgent requirement and i need to come up with a solution by very quickly.
    Your help ment awould be really appreciated.
    Thanks
    Rao

    Hi Rao
    it is pretty easy,just you have to define the communication channel for all the BPs which you want to use for your segmentation cause.
    within those BPs go to the identification tab and therein you just mention all those communication channels details which you want to use for assigning the BP to target group
    after you are done with it just assign target group and do the segmenation.
    do revert back in case of any doubt
    best regards
    ashish

  • How to delete Multiple Artists in one action?

    Hi,
    I want to do a big clean up on an iTunes library with over 4000 albums.
    How can I delete multiple Artists in one action?
    It looks like I can only delete 1 Artist at a time, and then this action shoots me to the top of the list.  Which is a pain then having to scroll back down through such a huge list to then delete the others one at a time... each time being shot back to the top of the list.
    For example I have the following artists;
    The Alarm 01 – 1 song
    The Alarm 02 – 1 song
    The Alarm 03 – 1 song
    The Alarm 04 – 1 song
    The Alarm 05 – 1 song
    The Alarm 06 – 1 song
    And I want to delete them all in 1 action.
    Can this be done?  How best to do it?
    Thanks in advance,
    Dave

    You can't delete "artists" - just songs (or songs grouped into albums).  When iTunes displays the library or a playlist in Artists view it is doing so using the metadata values set in the relevant songs.  If you're looking at this view:
    then your selections in the left pane - the artists list - is filtering what you see on the right.  When you select Delete via the keyboard or via a right-click operation, you are initiating an operation to delete the songs by that artist.  To delete songs by more than one artist in a single operation you'll need to select and delete in Albums view:
    or in Songs view:
    where you can also use the Column Browser to filter songs by multiple artists:

  • ITunes library synchronization across multiple users on one computer

    I've got a PC running MS XP/Home, with a separate user account for each family member. I also repointed all the iTunes library file pointers to the SAME file on the "D" hard drive (taking all that pressure off the "C" drive, which is filling up!)--so each iTunes incarnation for each user points to the same (master) file.
    But when I download music from the Music Store into the library from my user account, it doesn't show up in the iTunes library listing when my daughter logs in using her account--and she can't download it to her iPod.
    Why? I bought it for her; why should she have to download it? It's all on one computer!
    Is it that iTunes really can't handle multiple users on one computer??????? I don't get it...this isn't any copyright or license issue.
    I'd appreciate any tips to get the iTunes on one user's account to "restudy" the library to see if it's been changed by another user. We're all one family on our one computer!
    --DaveTh
    VAIO   Windows XP  
    VAIO   Windows XP  

    See this thread for answers: http://discussions.apple.com/message.jspa?messageID=1285867#1285867
    Post back here with questions if you have any.

  • How can I have multiple users on one apple id?

    How can I have multiple users on one apple ID?
    ie: I have my apple ID with my own credit, how can I set up credit for my son under the same apple ID, so that he can still access the same apps I've already downloaded and paid for?

    I've been trying to figure out a clean way to do this too. I think you may need more than one Apple ID – one that is shared and used to purchase "sharable" items and then "individual" Apple IDs for you and your son. That's the idea that I'm pursuing for the moment.
    It seems that there must be a way to do this, App Store purchases for the Mac are licensed across multiple machines. iPhone app purchases have "all your devices" licensing. Makes me think that Apple has a process in mind for sharing an account (or associating a device with multiple accounts).
    Other things I've learned:
    - Apparently you can't merge Apple ID accounts. I asked about this once at an Apple Store and was told that there was no way to do it.
    - If you share an Apple ID the Messages app behaves in a somewhat surprising manner. It must use your Apple ID to decide where messages should be sent because all users get all messages. This can make it very hard to organize a surprise party :-)

  • Can you have multiple users on one apple Id and utilize iCloud?

    My family shares an apple Id and we each have multiple Apple devices. When we use iCloud we "cross pollinate" each others devices with contacts, calendar events, etc.  is it possible to manage multiple users on one apple Id with iCloud activated or are separate ID's required?

    iCloud isn't designed as a multi-user service. Either you all have the same ID, and all your data is available to everyone, or you all have separate IDs and keep your data separate. You can share calendars, so that for example you could all have your own calendars but have one which is common to everyone:
    http://help.apple.com/icloud/#mm6b1a9479
    If you want to share contacts you will have to do it manually. If you want to do file transfer you will have to find a third-party alternative.

  • Can you have multiple users for one account?

    Can you have multiple users for one account? if so how do you set it up.
    We are using it for our department and it would be great to see who created what form instead of it being all one name.

    Each person should have their own account. You can easily share the forms with other people in your department. You will be able to see who the author of the form is.
    More information on how to share :
    http://forums.adobe.com/docs/DOC-2462
    Information on how to copy a forms to a different account :
    http://forums.adobe.com/docs/DOC-1390
    Hope this helps
    Gen

  • Allowing multiple users on one Skype ID

    I was wondering if allowing multiple users online one Skype ID is possible, I currently run a small business, where the majority of the customers use skype just for text chatting, not the call features.
    I was looking to hire employees, but use the same skype thats associated with my current reputation. It also helps when I get return customers, since it'll be available to all workers.
    The last 2 times I tried setting this up, my skype got locked, and I wouldn't be able to afford for it to get locked.
    I was wondering if anyone had any suggestions about the feasibility of this.

    Being doing this idea for years and really was hoping for more development.
    Bottomline when a call comes in and either I answer the call or let my staff answer the call. Then later i can see what happened.
    Unfortunity each new call is not populating outlook with an automactic new record so notes could be made.
    Currently we name the client with notes on back end eg: John Smith ..wants to buy main street call back asap.
    This is crazy way to make notes on incoming calls but there no was to conert to a task or an appointment.... One day .....i can only dream.

  • Best way to assign multiple users security, privileges and workbook shares.

    Is there another way to assign multiple users to a single workbook other than using the workbook management option. Something that can be done from the command line? How about assigning security and privileges from the command line?

    You could consider altering the appropriate EUL tables directly - I'm sure someone has the code for this - but requires database interaction (and might not be supported by Oracle, etc.).
    However, the concept or Oracle responsibilities (in Oracle Apps EUL) or Oracle roles (in Oracle database) is what's usually done. In fact, I don't like using users directly as if they go, etc. it's a pain.
    Better to use pre-defined groupings that you probably already have (ie: Apps responsibility such as: AP Inquiry). You set the privs / security there and it takes effect for all users logging in with that responsibility / role.
    Russ

  • Adding multiple users into one security group at one shot

    Hi,
    Is there any way we can add multiple users into one security group at one shot into PWA.
    For example: I want 100 create 100 users in EPM and Providing them with custom define Team defined permissions and can I add Time sheet Manager as well while creating bulk user through resource template in Project server 2010.
    Thanks,
    Prashant

    Hi Prashant,
    In order to add users in a security group, you can open the group, select all the appropriate resources (pressing CTRL key) and add them to the group. There is no other easy way. Otherwise a powershell script could do the job.
    For the timesheet manager, if all the 100 resources have the same timesheet manager, you can go to the resource center, select the resources (sorting by resource ID will give you together the latest resources added), bulk edit the resources and select the
    timesheet manager for the selected resources.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Assigning Multiple tablespace to one user

    i had created a tablespace say ( tabsp2), I want to assign tabsp2 to a user U1 which is already been assigned to tabsp1. If this is possible how do i do this using a SQL query.

    SURYA wrote:
    i had created a tablespace say ( tabsp2), I want to assign tabsp2 to a user U1 which is already been assigned to tabsp1. If this is possible how do i do this using a SQL query.You can allow a user to create objects in a given TS by granting a space quota on the TS to the user. And you can assign a user a default TS. Beyond that there really is no concept of "assigning" a TS to a user.
    1) A user may create objects in an TS for which he has available space quota.
    2) The default tablespace is used when no TS is referenced in a CREATE statement. By definition there can be only one default.

  • What happens if we assign multiple roles to one user

    Hi Experts,
    what is the outcome of the scenerio where multiple roles are assigned to one user in MDM
    example : role A has execute command for field X and another role B has read only command for the same field X, what happens if both the roles are assignes to user John?
    Thanks in advance
    Sharma.

    hello Abhishake,
    Thanks for the reply,
    so does that mean the user will have the execute role even though the second role was read only?
    Thanks,
    sharma

Maybe you are looking for