Grab activity - Queries

Hi,
I was looking into Grab activity. I have few queries..
1. Defined Grab - we have both in & out transitions. What value is added by Grab over here? For me it looks simple flow
2. From all - After each activity in the process, instance will come to Grab but there is only one out transition from Grab. Not able to visualize how it is used in aprocess & how the fow(sequence) is managed
3. From All-To all - Here actual process flow (as it gets executed) will be based on User choice for "To" from grab. Is it right understanding?
It will be really great if someone could give business example of how Grab can be used in a process.
Thanks
Sujata

How wud u do it using Global Interactive.. I mean PAPI code can only be used outside BPM .. I guess?
So where do u write this PAPI code and point it to assign a particular participant to a particular GRAB activity out of a number of participants in the same role i.e. manager?
Do you use a screenflow inside the Global Interactive and then use Prepare - Commit Methods or how do u call the PAPI code from a Global Interactive to assign the participants to a GRAB activity at runtime?

Similar Messages

  • Is itpossible recover BPM Object instance from Screenflow in Grab Activity?

    My process has two roles: role1 and role2.
    role2 has an activity of type "Interactive" and the implementation type of this activity is Screenflow, in this Screenflow I have an instance variable of the type BPM Object.
    role1 has a Grab Activity from Interactive Activity that describes above, the Grab Activity has a unconditional transition to another Interactive Activity and this Interactive Activity has the same implementation type of the Interactive Activity of the role2 and points to the same Screenflow.
    I need to recover the values of the BPM Object that filled in role2, in other words, I need the same instance of the BPM Object in Interactive Acitivity of the role2 in the role1.
    If an user filled a field called "name" of BPM Object in the Interactive Activity of the role2, it needs to see that value in the Interactive Activity of the role1 after grabbed this activity of the role2 to role1.
    Is it possible?

    Hi,
    Sure it's just me, but I got a bit lost with the description of what you're trying to do. One place I got lost was in the discussion of roles. Roles are used in Oracle BPM processes for a variety of reasons, but I'm not sure they're germane to your problem so I'm trying to rephrase your question without their use.
    Here's my attempt to rephrase what it is that I think you're trying to do:
    1. I think you have two activities. I'm naming them "Check Credit" and "Final Check"
    2. I'm guessing you have a transition between the two activities "Check Credit" and "Final Check"
    3. Your process has an instance variable that is a BPM Object that I'm naming "customer". Since it's a BPM Object type, it has a variety of attributes (e.g. customer.name, customer.address, etc.)
    4. You have a Grab activity that has its "Runtime" property set to be "Defined" (meaning you have transitions defined coming into and out of the Grab activity). I think you might have a transition going from the "Final Check" activity to your Grab activity and I think you might have a transition going from the Grab to the "Check Credit" activity.
    Does this describe your process? I'm assuming you probably want to have the instance variable revert back to original values of the instance variable object before work was done in one of the activites, but don't want to head too far down this path until you confirm that this is what you want to know.
    Thanks,
    Dan

  • E-recruitment - Role based restrictions on Active Queries - High Priority

    Requirement - Do we have an option to restrict the queries in recruiter 'active queries list' (work center) based on roles.
    for example: Restricted recriter should not be allowed to view Back ground checks query. and Talent Groups query.
    Version - E-rec 604 support pack 5. Webdynpro Interface, seperate front end and back end - candidate Scenerios #3 as per Note 1017866.
    Request e-rec Pro's to post the solution, if they have faced this issue in there e-rec implementation exp.
    Thanks & Regards,
    David.
    Edited by: SAPERECSDN1 on Oct 12, 2010 6:25 PM

    Hello,
    You can check out transaction POWL_QUERYR. Through this you can specify the roles to be assigned to the role. Through transaction POWL_QUERYU you can even specify the roles to be assigned for a specific user. You can copy the specific roles required and assign them to the roles. Any role which is not assigned to specific role will appear to all the roles that have authorization to the workcenter object.
    Regards,

  • POWL: Hiding query from list of active queries in eRec workcenter dashboard

    Hi All,
    We are implementing SAP eRecruitment (EHP4) based on web dynpro ABAP. eRecruitment has work overview page (Recruiter role), which has two iviews (Search and Dashboard). Dashboard iview has two sections: Active Queries (Link Matrix) and Requisitions List. This is configured using POWL_UI_COMP. Query categories are: Requisitions, Postings, Applications, My Tasks and TRM.
    Requisitions categories has 5 queries: My open Requisitions, Open Team Requisitions, Open Application Groups, My Draft Requisitions, and All Requisitions.
    My requirement is to hide 2 of the 5 queries (Open Team Requisitions, Open Application Groups). I have tried activating/deactivating options in POWL_Query(r) transactions. Can you please let me know how to achieve this?
    Thanks,
    Shyam

    HI
    POWL_QUERYR is the required transaction for deactivating a query
    delete the entry for the required transaction there.
    and also Run POWL_D01 report for application id you want to hide.

  • Grab activity with PAPI-WS 5.7

    I have a process with 3 roles, and i have an interactive activity (external) in role 2 with the possibilty of making a grab (external) this activity in the role 3.
    How to grab this activity with papi-ws? If i trying run the grab activity the exception informs that is here in another activity (interactive) and if I want grabbed this activity I need take it by workspace.
    I know with papi (not papi-ws) is it possible. With papi-ws is possible "grabbed" activity?
    My version is 5.7
    Edited by marcuscavalcanti at 12/27/2007 5:51 AM

    Yes it's possible with PAPI-WS.
    1.) you just use activityCommit method in PAPI-WS, and i would suggest that you implement who gets which activity in ALBPM studio for each activity since this is process related information, and it will be easier.
    2.) you have instanceGetEvents method to get AuditTrail. But i found out that there is some mistake in WSDL of PAPI-WS since you cannot get any java.lang.Time objects....there are properties for getInstanceStamp for example but it returns PAPI-WS Time object which has no information about datetime.
    3.) never used that, so i don't know

  • Grab Activity Hangs in BPM

    Hello,
    In the Process Community, when a user clicks on the grab activity, the grab hangs at the grab instance on the first click. Is there a way to get the instance to move along so that it passes the grab to the next activity?
    Thanks.

    Mariano,
    I just read through this thread, and I have a follow-up response.
    If I have a "defined" Grab - one transition leading TO it, and one transition going AWAY FROM it, then I attach a screenflow to the grab so that the user who grabbed the item can do something, I would like the process to automatically continue along to the next Activity that the outgoing transition leads to.
    The documentation reads like that should be the default behavior:
    Post-conditions
    Defined Grab: Once marked complete, instances are sent to the next activity in the process via one of the outgoing transition lines.
    But when I test, it performs more like you describe in this discussion thread (Actually 3 step process). It does not go to the next activity in the process via the outgoing transition line. Instead, after I complete the screenflow, for the grab, then I have to "Send" it by checking it off and clicking the send button. So the 3 steps are:
    1) Click Grab Icon (to grab the instance)
    2) CLick Execute button (to run the screenflow related to the Grab)
    3) CLick the Send button
    I found that to "mark it complete" so that it will automatically go to the next activity you can set action = RELEASE in the outgoing parameters for the screenflow.
    SO now it it 2 steps:
    1) Click Grab Icon (to grab the instance)
    2) CLick Execute button (to run the screenflow related to the Grab)
    Thus, by adding "Action=RELEASE", I am able to alleviate the user from having to click the SEND button.
    Regards,
    -Brian

  • Hide the Grab activity

    The BPM process map can be showed in runtime.
    There is a (global) grab activity in a process. Can it be hided in the process map?
    In BPM studio, it can be showed.
    However, in the BPM (10g) workspace, this grab activity cannot be showed in the process map but it is still in the process and can work properly.
    In BPM studio 10.3.1, I can hide the role. However, if I click save icon, the hided role appears again.

    I don't think its possible to hide any activities from the process map. Within studio, you can only hide them from your view but even that functionality is buggy....

  • Alter "Active Queries" in POWL

    Hello,
    I am running SRM 7.0 / EP 7.
    Is there a way to alter the "Active Queries" in POWL for a page? For example, under "Strategic Purchasing" -> Strategic
    Soucing, there are 4 lines of Active Queries, i.e.
    RFxs
    Auctions
    Sourcing Templates
    Document Output
    Is there a graceful way of removing a line of queries, e.g. removing Auctions?
    Thanks,

    Hi,
    Please check following transaction. You can delete the query or category.
    POWL_CAT             Maintain POWL categories
    POWL_EASY            Easy-POWL Feeder Builder
    POWL_QUERY           Maintain POWL Query definition
    POWL_QUERYR          Maintain POWL Query role assignment
    POWL_QUERYU          Maintain POWL Query user assignment
    POWL_TYPE            Maintain POWL Type definition
    POWL_TYPER           Maintain POWL Type role assignment
    POWL_TYPEU           Maintain POWL Type user assignment
    Regards,
    Masa

  • Show my custom query under the Active Queries Section

    Hi,
    I have created a Power list by implementing the interface IF_POWL_FEEDER and successfully tested the query in stand alone mode.
    Now i want to show this query as a link under the Active Queries section of the standard POWL. For example;suppose when you click on Purchasing ->Purchasing Documents link you will first see a list of queries like below (underlined ones are actually the links). I want to show my Query also as a link in this section.
    Active Queries
    Purchase Requisitions All Purchase Requisitions from last month (7)
    Purchase Orders All Purchase Orders from last month (62)
    Outline Agreements All Outline Agreements (108)
    Request for Quotations All Request for Quotations (34)
    Without Category Assignment Purchase Orders Ready for Release (0) 
    Could you please advice how to achieve this?
    Regards,
    Kumar.

    hI,
    I have created my own Category and linked my Query, application id and the categoy. But still the link is not appearing. If i assign my Z category to one of the standard queries shown above, it is reflecting perfectly. For ex; if i assign my Z category to the last on the above list which has the decription as Without Category assignment, then it is perfectly changing to my description as shown below.
    Active Queries
    Purchase Requisitions All Purchase Requisitions from last month (7)
    Purchase Orders All Purchase Orders from last month (62)
    Outline Agreements All Outline Agreements (108)
    Request for Quotations All Request for Quotations (34)
    MY DESCRIPTION Purchase Orders Ready for Release (0)
    FYI i have added my entry in POWL_QUERYR transaction as below
    Application id: OPS-BUYER-POWL-PURDOC-13 (ALL the above standard links are attached to this application id)
    Query id: ZPOWL_MYQUERY
    Category: ZPOWL_MYCATEGORY
    Activate: Checked.
    Also could you please advice in which method of the feeder class do i need to write the logic? Do you have any sample code? Not sure if really need to write any logic as all i want is when the user click on the link it should open my Query.
    Regards,
    Kumar.

  • GRAB activity how to .. ?

    Hi there,
    I have a Role that grab from every other role to the point that the project is cluttered with arrows and lines. How to simplify this GRAB'ing to the least cluttering?
    I am thinking about how to code a grab within each role, to grab itself to the GRAB role?
    It is worth the effort? or anyone knows how to go about a better solution or how to code this?
    Thanks
    badam571

    Sourav
    sourav biswas wrote:
    wat i meant was...since as far as i can understand..the GRAB role can grab all instances from all activities...*u can change the runtime property -Grab Type to From ALL/to ALL option*...in that case u dont need to add in coming and outgoing transitions from grab activity....Your suggest is interesting, but I do not think it will work for me, we want to our team lead to grab the developers and redirect their activities, not to grab our project manager or vp. grab ALL/to All may put us in trouble.
    Is there anyway we can grab all lower roles not the ones higher than where the grab is sitting?
    Thanks
    badam571

  • Code Within a Grab Activity

    Hi Everyone,
    I have some questions regarding the grab activity in ALBPM 6.0:
    1.) When is the code contained in the activity's main task executed, before the grab or after the grab's target activity has been selected?
    2.) If it's the latter, how do I know/get which activity the user has selected in the grab? I'm asking since automatic activities are not visible in the grab yet all my interactive activities should have some processing done for them before they are executed. I want to do some activity-specific processing after a target has been selected in the grab but before the instance get's redirected.

    Here is what you do:-
    1) Create a screenflow with 3 activities ,2 automatic and 1 UI Interactive Activity.
    2) 1st activity will be an automatic activity where you put your code to assign participants like the participants list obtained from the db, the activity names etc..
    3) In the UI Interactive Activity, create an UI which displays this info to the end user. The end user can then select an activity and the participant name from the drop down list from the UI and submits.
    3) In the next Automatic Activity, assign the participant based on the info selected i.e. participant.next = participant.find("name") and then appropriately direct the flow to the particular activity selected via. GRAB. This will assign that activity to that user automatically.

  • ERROR: cannot grab an automatic activity

    Hi,
    I am trying to showcase the GRAB activity. I am able to grab from a timer wait and interactive. I wanted to depict the GRAB from an automatic activity. To simlate a 'long running' automatic activity, i put a thread.sleep() (wait) in it.
    Can anyone let me know if it is an expected behavior ? (this being a thread.sleep for wait). And if yes, how can i simulate a long-running automatic which can be grabbed?
    Regards,
    user8702013
    PS: when i try to grab the above activity, i get an error as below:
    Instance '/Process#Default-1.0/1/0' could not be grabbed in activity 'Automatic2'. Details:
    Instance '/Process#Default-1.0/1/0' could not be locked because participant 'Server' is currently locking it.
    fuego.papi.exception.CannotLockInstanceException: Instance '/Process#Default-1.0/1/0' could not be locked because participant 'Server' is currently locking it.
         at fuego.server.ProcInstOwner.createLockException(ProcInstOwner.java:119)
         at fuego.server.AbstractInstanceService.getLocked(AbstractInstanceService.java:148)
         at fuego.server.execution.EngineExecutionContext.acquireCurrentInstance(EngineExecutionContext.java:1692)
         at fuego.server.execution.EngineExecutionContext.preImmediateExecution(EngineExecutionContext.java:1509)
         at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:295)
         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.DefaultEngineExecution.executeWithoutComponentImmediate(DefaultEngineExecution.java:199)
         at fuego.server.execution.EngineExecution.executeWithoutComponentImmediate(EngineExecution.java:95)
         at fuego.server.AbstractProcessBean.instanceGrab(AbstractProcessBean.java:3947)
         at fuego.server.AbstractProcessBean.instancesGrab(AbstractProcessBean.java:2140)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
         at fuego.lang.JavaObject.invoke(JavaObject.java:227)
         at fuego.component.Message.process(Message.java:585)
         at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
         at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
         at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
         at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
         at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
         at fuego.component.ExecutionThread.run(ExecutionThread.java:408)

    I'm not sure there's a good answer to your question. Grabbing from an automatic activity seems counter productive to me. I must ask why do you want to "Showcase" grabbing from an automatic activity anyway?
    Automatics shouldn't take long time to run and so there shouldn't be a need to grab them. If the automatic will take a long time, they need to be divided up in to smaller work units. This can be done in a split-n/join. Long running threads will time-out. You don't want to hang up engine threads in an automatic. I would think long-running activities can be broken down into shorter running work units. It would be better to show grabbing from an exception handling routine. This is where problematic automatics should end up if they are taking to long or need to be grabbed and moved do to some problem.
    HTH

  • Unable to create queries on portal

    Hi,
    We have implemented Buyer business package on portal and all the ABAP views are coming up fine. For the POWL views like "My Vendors", My Materials" there is an option to create a new query and then view the results in the table based on the query.
    Now this step of creating query is coming up for a particular user. But for certain users the view shows message "No active queries" and there is no option to even create a new query.
    Please let me know what authorization do I need to give in ECC so that they can get this option of creating new queries.
    Regards,
    Namrata

    Hi,
    That User may not have the authorizations on that InfoArea and MP, so check it. See SAP help on Roles and Authorizations.
    http://help.sap.com/saphelp_nw70/helpdata/en/44/599b3c494d8e15e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/be/076f3b6c980c3be10000000a11402f/frameset.htm
    Using RSECADMIN we can define the roles and authorizations in BI 7.
    See some good posting sin SDN
    First define the Roles as per your business and then assign the Objects i.e. Plant . Division etc..
    http://wiki.sdn.sap.com/wiki/display/BI/AnalysisAuthorizationsinBI-+approach
    http://help.sap.com/saphelp_nw70/helpdata/en/44/599b3c494d8e15e10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/659fa0a2-0a01-0010-b39c-8f92b19fbfea
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a6c54319-0e01-0010-20a4-fb81ad32f330
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ded59342-0a01-0010-da92-f6b72d98f144
    Thanks
    Reddy

  • Grab In A Parametric Role

    Hi All
    I'm using BPM to run a business flow using Oracle BPM Studio.
    One of the roles I'm using in the process is a Parametric Role.
    I need to use a Grab activity in this parametric role, but I got an error that I can't use a Grab activity in a parametric role.
    Does anyone familiar with this problem?
    I need to give some permissions to that role, and I don't want to use the Grab's API.
    Thanks
    Arik

    Guessing I'm just confirming what you already know, but there are a couple activities that cannot be placed in a parametric role. Grab is one and a Global Interactive is the other.
    It's not a bug, but I've never quite understood the rationale for not allowing a Grab in a parametric role either.
    Describe your use case and perhaps we can all brainstorm another design pattern that will work.
    Dan

  • Grab - Data Revision

    Hi.
    I just want a opinion about the best way to do this.
    I'm trying ta make a "revision" activity. The idea is to grab the instance, show (and may change) all variables values on a screenflow, and then put the instance back to the flow.
    By now I'm doing this using two grab activities.
    The first one is a "From All" Grab linked with the screenflow, followed by an Automatic (save changes), and an "Reallocate" Interactive Activity with User Select Transiction option checked linked with the first one activity on the flow...
    The other one is a "From All/To All" grab activity.
    The problem is when the instance arrives on "reallocate" I need to send it to the second grab activity, otherwise it will to flow first activity (following the link)
    What I want is to choose witch activity in flow to send the instance.
    Is there any other way to do that?

    Hello, can somebody help me pliz...?

Maybe you are looking for