Identify Guided Procedures Task ID dynamically

Hi,
Can anyone please tell me if there is a way to idynamically dentify the id of the task (not the process) that is asigned to the user in Guided Procedures process?
Say for ex: I have two parallel tasks assigned to one user. Action1 and Action2. For each action a email is sent to the user with a link  (like below) to the task so he/she can directly launch the task from email.
To view this task href="http://`{write(ctxt.DataSource.Host);}`/irj/portal?NavigationTarget=ROLES://portal_content/com.sap.pct/platform_add_ons/com.sap.caf.eu.gp.folders.gp/com.sap.caf.eu.gp.roles.runtime/com.sap.caf.eu.gp.worksets.runtime/com.sap.caf.eu.gp.pages.procinstance&DynamicParameter=processId%3D`{write(sy.processid);}`%26taskId%3D">Click here
With the above link, the user is only getting the url to the process but not directly to the task. i.e., when the user clicks on the email link of Action2, the browser opens up with the Action1 selected by default. He will then have to manually click on Action2 to complete that task. I want the user be able to directly go to Action2.
Please advice.
Regards,
Kumar.

Hi,
Refer this
Re: Adding users to a process role at runtime   method :- addRuntimeDefinedUser

Similar Messages

  • Compleated guided procedure task throws Java.lang.null pointer exception.

    Hello,
    Compleated guided procedure task throws Java.lang.null pointer exception in UWL.
    From UWL  tracking of finished task of guided procedures throws null pointer exception .
    Guided procedure is created in local J2EE Engine not in Back end SAP System.
    Any ideas.
    Regards
    Mark

    Hi
    If u solved the problem mentioned above please tell me g\how u managed to do it.We are facing the same issue.Completed gp shows the same exception while opening from tracking tab

  • Integrating Lotus Notes with Guided Procedure Task

    Hi Experts,
    Is it possible to see Guided Procedure Tasks in Lotus Notes. Is this integration possible?
    We have UWL in portal to check the tasks.
    Instead of going to the portal to open Actions, can we get the task link in Lotus Notes Inbox?
    Thanks,
    Runal

    Thanks George
    Using GP APIs we can check tasks for processes through Lotus Notes, instead of going to the netweaver portal's UWL list.
    But GP APIs does not support WD ABAP.
    So integration of lotus notes with GP is only possible using WD JAVA.
    Thanks,
    Runal

  • Guided Procedure Tasks don´t appear in "completed tasks"

    Hello! I´ve integrated guided procedures into the UWL. It works fine, except that once i complete a task depending on guided procedures, i click in "completed tasks" and it is empty.
    I´ve noticed that the only kind of tasks that appear in "completed tasks" are the ones which are related to Collaboration.
    Is there a way i can show the completed tasks related to Guided Procedures or R/3 ?
    Thanks in advance!.
    Message was edited by:
            Marco Ustarroz

    It was resolved when an SPS upgrade was made.

  • Setting Guided Procedure Task Due date in UWL

    All,
    Currently UWL is configured to show the tasks related to GP.
    My question is how do we set the "Due Date" in UWL task View ( remember i am not talking about Due Date tab in GP). I want that the task that gets posted in UWL should have a due date. Now i have configured the Due date for the action(in Due date tab) but i don't see it when i login in UWL for this particular task.
    Help will be greatly appreciated.
    Thanks
    Pravin

    Hi George,
    I need some help.
    My scenario is to set Duedate in run time to a Action.
    Like:
    Action1->Action2
    I am setting a Duedate Notification for Action2.I am selecting Type of DueDate Notification as Date and selected some date.I need to change this Duedate Notification Date in runtime through context data
    of Webdynpro CO
    I am approaching as follows:
    1)Created a Background CO (I wrote a logic to change the duedate and I achieved it)
    2)Assigned this Background CO to Action2 Notification(On Assign).
    I checked in NWA the duedate of the action is changed.But in UWL screen its showing same old DueDate.
    Please guide me in a correct way.
    I will be very thankful to you If any suggestions.
    Regards,
    Rajesh N

  • Task based UI (Guided Procedure) in SAP CRM 7.0

    I am trying to build a Task Based UI in SAP CRM 7.0. I followed the steps which SAP mentions but unfortunately i can't get it work.I am a functional consultant and so its quite possible that might have missed something critical
    This is the sequence of steps i followed
    Step 1 - Create new BSP component
    2 - Created 3 custom views
    3 - Created a "Guided Maintenance Page"
    4 - According to SAP documentation/material - when i open the view/page created in step 3 i would be able to see the views i created in Step 2 and i can choose the views ( and the sequence) i want to use in the guided procedure.
    But unfortunately in Step 3 - i don't see any of the views i created in "Step 2" .
    So just wondering what i have missed and why the guided procedure is not working.
    thanks in advance!
    Cheers
    SS

    Hi Ruby,
    Thanks a lot for your reply.
    In your reply you have mentioned that - "As far as I know , if you use the guided  maintainence  procedure , at the top you can see the number of custom views added in the component , in your case you will be able to see them as 1, 2 and 3"
    The issue I am encountering is that  I don't see the (any) custom view in my guided procedure.
    I don't see any of the the custom views 1,2 or 3 listed in the top half of the page. All i see is a table with no entries in it.
    So i am wondering if i have missed out any important step in guided procedure( task based UI) creation process.
    thanks in advance!
    Cheers
    Subu

  • UWL Guided Procedures and Substitution Rules functionality -  how possible?

    We are using Guided Procedures with Custom Web Dynpro objects and need to utilize user/role substitution that is easily enabled in other AdHoc tasks using 'Manage Substitution Rules.  Unfortunately when creating and turning ON a substitution rule in the UWL all Guided Procedure Tasks are excluded and do not show up in the substituting person's UWL.
    Does anyone have any ideas of how we can utilize Substitution Rules in UWL for all Guided Procedure tasks/steps?
    Thanks in advance
    -SteveW

    Hi SteveW!
    The situation you're facing is the normal behavior from GP in relation with substitution feature of UWL.
    Unfortunately GP doesn't support substitution as the other UWL connectors do.
    Best regards
    Armando Zaro

  • Send form with dynamic fields to guided procedure

    Hi all,
    i am just wondering if GP is able to map fields from the interactive form that is dynamic.
    for example, the request invoice form sometimes may contain more than one records. however, with my limited knowledge on GP, i believed mapping can only be done from ONE input parameter to ONE output parameter?
    pls kindly advise..

    Hi Ashutosh,
    Yeah i have context attribute of type byte which has the image source but the problem is when i am trying to pass (as given in the above metioned blog) the image source from Web Dynpro to Guided procedure (which has Web Dynrpo DC as CO), i was not able to find any image in Guided procedure. So is there any way to make it possible?
    I cant hav attribute as String since i use an Upload UI element to upload the pdf from local machine. Only if i have the context attribute as byte the image is visible in the form once the Pdf if upload from local machine
    i follow this blog for my Web Dynpro DC as CO in Guided procedure
    The specified item was not found.
    Thanks
    Gopal.

  • Set Notificaton Duration Dynamically in Guided Procedures

    Hi,
    Can anyone please let me know if it is possible to set the Duration of Notifcation dynamically in Guided Procedures?
    For ex: I am triggering a e-mail when the action is not complete after 12 hours. I am setting this in the "Notification" tab of the Action. But looks like this is hardcoded and cannot be changed later. I want to give a option to the user to be able to configure this 12 hours instead of going through the change process when they want a different duration.
    Please advice.
    Regard,
    Kumar.

    Hi Kumar,
    Using the following document for dynamic sending of Notification in GP, you will be able to figure out how to execute the code and configuration to action.
    [Send Notification Dynamically|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0cfefa9-e700-2c10-5e81-deaef5094336;jsessionid=%28J2EE3414700%29ID1685135850DB00605893765975082321End]
    Revert for any clarification.
    Regards,
    Tushar Sinha

  • Difference b/w various blocks in Guided Procedures?

    Hi experts,
    I am new to Guided Procedures and want to know a few things.
    Can anyone of you tell the difference between the various blocks in GP.
    Or
    Can you give a brief idea about when will we use the different types of blocks in GP?
    1.Sequential
    2.Parallel Dynamic
    3.Precondition Loop
    4.Alternatives
    5.Parallel Block
    6.Post condition loop
    Also, can any one tell me the diff between a Process and a Simple Process.
    Thank You.
    Regards,
    Murthy J N.

    Hi Murthy,
    As we know that CAF Guided Procedures (CAF GP) is a framework for modeling and managing workflows using simple and user-friendly tools. As a part of the Composite Application Framework (CAF), GP enables access to multiple backend systems, consistently combining different types of services and applications into processes.GP supports collaboration, ad-hoc items, and offline task management using interactive forms. It provides role-based access to tools and resources and guidance through the workflows at runtime, thereby helping end users to easily identify and complete their tasks.
    CAF GP enables you to re-use existing services and applications, such as SAP system transactions, remote-enabled function modules (RFCs), CAF Core applications.
    Please check the below links for the different tyoes of blocks available at GP:
    http://help.sap.com/saphelp_nw04s/helpdata/en/68/6182410349213ce10000000a1550b0/frameset.htm
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8269bdb8-0701-0010-4692-c3349106ec66
    Process and its details are mentioned at below link .
    http://help.sap.com/saphelp_nw70/helpdata/EN/43/2713f5177e6021e10000000a422035/frameset.htm
    Hope this helps you.
    Regards,
    Shaila
    Edited by: Shaila kasha on May 19, 2009 12:15 PM

  • Guided Procedures vs ISR

    Hi
    We are trying to automate our internal form processes using SAP adobe interactive forms. These forms must be available online and must be routed to the relevant approvers and processors on submission.
    Can anyone tell the difference between ISR and Guided Procedures and which one is the best to use.
    Regards,
    Michael Mayisana

    Hi Micheal,
    Please check the answers for your queries. I have adding all the info i have.
    1. It doesnt exactly mean that the GP are only for Offline Interactive forms., they r for online too. but better suited for CAF appl. For this case we need, we will take the help of CAF GP i.e. Composite appplication framework GP. CAF GP is a framework for modeling and managing workflows using simple and user-friendly tools. As a part of the Composite Application Framework (CAF), GP enables access to multiple backend systems, consistently combining different types of services and applications into processes. In addition, GP supports collaboration, ad-hoc items, and offline task management using interactive forms. It provides role-based access to tools and resources and guidance through the workflows at runtime, thereby helping end users to easily identify and complete their tasks
    2. As to my implementation the form cannot be rendered on the front-end without any extra web-dynpro development when using GP. Like ABAP Webdynpro iviews can than be integrated with portal. and hence portal is used as front end.
    Pls chk the below link
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0957cb6-5103-2a10-6d9d-a0a4d68c8bf1
    3.Example as such , might be a general MSS/ ESS implementation but check out this blog for such scenario
    Guided Procedures explorations: Scenario using Interactive Forms and Visual Composer
    Hope this helps you and hope i was clear .
    GoodLuck!
    Regards,
    Shaila

  • What is GP (Guided Procedure)

    Hi All,
    I am completely new to CAF. Can any one explain me what is GP in CAF.
    Thanks,
    Ramesh.

    Guided Procedures –Definition
    CAF Guided Procedures (CAF GP) is a framework for modeling and managing workflows using simple and user-friendly tools. As a part of the Composite Application Framework (CAF), GP enables access to multiple backend systems, consistently combining different types of services and applications into processes. In addition, GP supports collaboration, ad-hoc items, and offline task management using interactive forms. It provides role-based access to tools and resources and guidance through the workflows at runtime, thereby helping end users to easily identify and complete their tasks.
         A framework for modeling and managing processes that involve access to multiple backend systems
         Designed to implement business processes with greater ease and speed across multiple applications
         Enables users without specialized software development skills to easily set up and execute collaborative business processes
         Allows the invocation of various types of applications and services within a process (Web Dynpro, RFC’s…) In real world scenarios we might be dealing with different services, applications like WebDynpro, java, BSP and so on....CAF GP framework enables you to integrate these applications .
         Navigates the End User through UI-driven, people centric, distributed and collaborative business processes
         Enables offline process execution via Interactive Forms

  • Guided Procedures in ESS/MSS

    Could somebody let me know what exactly is the use of Guided Procedures in ESS/MSS packages.
    Points will be awarded for brief answers.

    Hi Lina,
    Guided procedures are basically for enabling access to multiple backend systems, consistently combining different types of services and applications into processes.
    CAF Guided Procedures (CAF GP) is a framework for modeling and managing workflows using simple and user-friendly tools.
    Also, GP supports collaboration, ad-hoc items, and offline task management using interactive forms. It provides role-based access to tools and resources and guidance through the workflows at runtime, thereby helping end users to easily identify and complete their tasks.
    The following links will help you
    [http://help.sap.com/saphelp_erp2005/helpdata/en/fb/5e6f4169e25858e10000000a1550b0/frameset.htm]
    Also we can know how you integrate existing applications and services into the GP framework
    The below link tells about GP to ESS
    [http://help.sap.com/saphelp_erp2005/helpdata/en/43/9f2d87c0a86756e10000000a11466f/frameset.htm]
    This is link for Defining Composite Processes with Guided Procedures in SAP NetWeaver Composition Environment 7.1[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a00c07d0-61e0-2a10-d589-d7bc9894b02a]
    Hope this will help you.
    Regards,
    Shaila
    Edited by: Shaila kasha on May 9, 2008 4:15 PM

  • SAP Workflow vs. Guided Procedures

    Hello experts,
    could anyone explain the differences between SAP workflow and Guided Procedures???
    I know that workflows are just compatibel with a ABAP Stack. Is there a document which compares both process technologies???
    Can I use CAF for SAP workflow???
    Can I use the Visual Composer to create the UI for a workflow???
    Thank you very much
    Regards
    Marco
    Edited by: Marco Gennari on Aug 28, 2008 4:25 PM

    Hi Martin!
    Because my tutor and my professor want to know, if it's possible to start a GP-process from SAP WebFlow automatically if a certain step is reached in WebFlow.
    I have a process as an example and in that process company A works with Workflow and company B, who is responsible for maintenance of a machine works with Guided Procedures.
    When a machine is damaged a Guided Procedure process of company B should be started and after reparing and end of GP the SAPWorkflow should continue.
    The normal way via iporting a WSDL file isn't possible because SAP WebFlow doesn't support SOAP Binding which is necessary for Guided Procedures.
    However in Guided Procedure it's possible to create an URL of a process instantiation. And if you call that URL in your Browser with parameters "process.template.id = xxxxx" and "process.autostart=t" the process will be started automatically.
    So for the first, I just want to call the URL from SAP WebFlow to trigger the GP process. (the handler customizing is done correctly) So I thought with transaction "wf_extsrv" it's possible if you refer to the URL of the process instantiation with process.template.id and process.autostart=t.
    Then generate a task and start the GP-process with the activity referring to the task. That would be a first step to show if it's possible.
    If yes.
    Then I can attend to pay attention to the export and import parameters.
    Can you follow me?
    I hope so.
    I think that post is much too long.
    If you want I can write you my ideas exactly via email.
    null

  • How to create a stored procedure in a dynamic schema

    Hi,
    I want to create a stored procedure in a dynamic shcema (schema name will be known at run time). Can any one guide me on this.
    I tried using define var1=schema1; and then in create or replace procedure &var1.porcName( ) but it is not working
    Thanks

    SQL> alter session set current_schema=<my schema>;
    Now create the stored procedure. It will be created in the session's current schema.

Maybe you are looking for

  • How do I replace a defective font in CC?

    Both Photoshop and Premiere Pro report Trajan Pro and Trajan Pro Bold as defective. I need to find a way to reload them (all other fonts appear okay). Any clue where to go for this? Thanks, Jay

  • Using list in where clause

    I found that the following query would not work in my report region SELECT col1, col2 from table1 where col1 in (:ITEM1) My page provided the values of :ITEM1 to be 22,23,24 The error I receved was ORA-01722: invalid number Any ideas?????

  • View my message site log in problems

    I tried to log into a picture today and its telling me user name and password is invalid. I did it like 100 times and its not invalid but I cant log in. Anyone else have this problem or know what the deal is? Thanks

  • Two Problems:MSN Won't Download,  Display Shuts Off After 1 Minute

    Hi ok so i have two problems, I had MSN 6.03 for a while but last night it just stopped opening, so I deleted it and tried to redownload, but when i try to download it, it says "failed to mount" every time. The second problem is the display shuts off

  • Plugged in, battery no charging - Envy x360

    We have an Envy x360, which has an internal battery that you cannot remove, or check to ensure it is seated properly without voiding the warranty. We cannot currently use the laptop without it being plugged in, as it is showing "plugged in, battery n