Unassign a task using Global Interactive activity.

Hi,
There is a task assigned to a particular user. I want to unassign that task from Global Interactive activity but it is not working. Steps followed by me are:
1. Global Interactive activity for unassigning any task at any time from the instance drop down.
2. A screenflow is called in the Global Interactive activity for unassign.
3. In the screenflow I have an automatic activity where I have written Participant.next=Participant.Unselect;
The log message in the automatic activity after the above written code shows participant value is blank. But when it comes out of the screenflow to the main process the participant automatically gets assigned. In the workspace the activity shows that it is still assigned to the user.
Note: I cannot use OOTB feature of Unassign because I need to show a screen with some reasons for Unassign, so I'm using a screenflow.
Kindly revert ASAP.

Hi Yasmin,
Try executing the code at the process level or use the product feature 'Unassign'.Hope it helps.
Regards,
Ritu S.
Edited by: Ritu Singh on May 17, 2010 1:21 AM
Edited by: Ritu Singh on May 17, 2010 2:04 AM

Similar Messages

  • Equivalent of Global Interactive Activity in 11g

    Hello,
    Is there an equivalent of Global Interactive (not Global Creation) activity in OBPM 11g? What I intend to do is to be able to have certain stand alone activities in the workflow bounded independently to different taskflows (there taskflows are associated with the business process but not directly linked to it). E.g. Let's say I have a requirement that the 'Manager' role in the workflow should be able to assign the primary process participants to different Line of Businesses based on day to day needs. All I need is a UI to achieve this. But I am also trying to leverage BPM roles so that only 'Managers' are able to see this link in their workspace / worklist and able to access this UI. We have previously implemented this using 'Global Interactive' in 10g. All we did was to place the activity in a manager swimlane and associate a screenflow to it. Trying to understand what 11g has to offer for this requirements.
    Thanks,
    Gaurav

    One of the things that helps end-users train themselves on a process is to present a picture of where a work item instance that they are working on is located in the process. This is commonly referred to as the “you are here” map. In Oracle BPM 10g, this is done like this:
    1.     Add a Global Interactive activity to an abstract role (role with a name).
    2.     Name this new Global activity “You are here”.
    3.     Click Runtime in the left pane and check the "Has instance access" (do not check the checkbox labeled “Use activity for instance presentation").
    4.     Click the OK button.
    5.     Right mouse click this new activity and select Main task from the popup.
    6.     Change the Implementation type to "Show Process Image".
    7.     Click OK.
    8.     Save the project and reload the project.
    9.     Start the WorkSpace again. Log out and relogin.
    10.     On the right side of the inbox, for an existing work item instance click the "Select action" dropdown.
    11.     Click the new "You are here" action.
    12.     Note the red flag above the activity where this work item instance is located in the process.
    Hope this helps,
    Dan

  • Global Interactive activity

    Hi,
    Could you please tell me how we can pass I/O arguments through PAPI WS/PAPI API to execute the Global Interactive activity, the main task defined for it is a Screenflow. Global Interactive activity is not having "Instance Access" check in the Properties option. We will then use these arguments inside the Screenflow for business process. As per my knowledge, for Screenflow mapping, we need to map "Value" with the appropiate arguments defined in the Screenflow argument mapping section. By default, "Value" shows predefined values.So, how we can map argument values coming from PAPI WS/PAPI API to this screenflow.
    Thanks,
    Abhishek

    One of the things that helps end-users train themselves on a process is to present a picture of where a work item instance that they are working on is located in the process. This is commonly referred to as the “you are here” map. In Oracle BPM 10g, this is done like this:
    1.     Add a Global Interactive activity to an abstract role (role with a name).
    2.     Name this new Global activity “You are here”.
    3.     Click Runtime in the left pane and check the "Has instance access" (do not check the checkbox labeled “Use activity for instance presentation").
    4.     Click the OK button.
    5.     Right mouse click this new activity and select Main task from the popup.
    6.     Change the Implementation type to "Show Process Image".
    7.     Click OK.
    8.     Save the project and reload the project.
    9.     Start the WorkSpace again. Log out and relogin.
    10.     On the right side of the inbox, for an existing work item instance click the "Select action" dropdown.
    11.     Click the new "You are here" action.
    12.     Note the red flag above the activity where this work item instance is located in the process.
    Hope this helps,
    Dan

  • Global Interactive activity link to be displayed only at instance end

    Hi All,
    I have a requirement where link in right hand side dropdown at instance level should be shown only when instance is completed. For this I am using one global interactive activity with 'has instance access' option checked and also 'read only' option checked. It is visible when instance is completed as well as when alive. I dont want the later part. Could anyone advice?
    Regards,
    Yasmin.

    Yasmin,
    You need to persist your instance variables by inserting them into the database table. And then pull your compleled instances based a known parameter (let say a defined instance id that can be an oracle or sql row id).
    Does this make sense to you?
    Thanks
    badam571
    Edited by: badam571 on Apr 27, 2010 1:30 PM

  • Create new instance through global interactive activity

    Hi All,
    I have a requirement where when instance is completed, I need to provide a link at instance end through global interactive activity. Once user clicks on that activity a screen appears where user clicks on button and new instance should be created.
    Now the problem is I tried notifying the main process and then use process creation activity to create instance but this cannot be used as instance is already completed.
    Second approach i used is processinstance.create method. But new insatnce is not getting created. Also i m not getting any exception.
    Please reply as this is very important requirement.
    Regards,
    Yasmin

    Create a new instance before the END activity is executed..
    After the screenflow for the global activity pass a variable to collect the button value on ON CLICK..
    If button value = true, then call a sub-process else END.. The sub-process does not need any Global activity to start the process . The values would be passed from the BEGIN activity of the sub-process itself.

  • Process creation using Global Automatic Activity - OBPM 10g

    Hi,  I would like create the process instance for my application on every 2nd business day of a month. I also have a calendar defined for checking business day.  But I am unable to figure out to how use that calendar to determine second business day of any month. Global Automatic type is set to Automatic schedule and monthy option was selected. But I believe this would trigger the process on every second day of the month, without considering the fact whether its  business day or not. There is Runs on Holidays checkbox, but not sure what it really does. If it checks for holidays then which calendar does it refers to. Hence, please let me know how can i specify a calendar or any alternate solution to trigger process creation. Thanks, Namit
    n

    I am not sure what you saying..Did u mean Global Creation ? But that would have a user to invoke the process..I want to invoke it automatically...I got a part of the answer...But it takes all instances..and creates multiple instances..I want to isolate the instances previously been transferred..What I am doing is ..Using a Global Automatic to invoke the other process.Writing a PAPI code to call the other process from this process...and Polling By Interval every 1m..
    Here is a code:-
    ProcessService ps;
    ps.connectTo(url : Fuego.Server.directoryURL, user : (String)BusinessParameter.getValue(name : "USER_NAME"), password : (String)BusinessParameter.getValue(name : "PASSWORD"));
    logMessage("Process Service connected--->" );
    businessProcess = ps.getProcess(process : "StartProcess");
    InstanceFilter instanceFilter;
    instanceFilter.create(processService : ps);
    SearchScope searchScope = new SearchScope(ParticipantScope.ALL,StatusScope.INPROCESS_AND_COMPLETED);
    instanceFilter.searchScope = searchScope;
    result2 = businessProcess.getInstancesByFilter(filter : instanceFilter);
    logMessage("Length ==>" +length(result2));
    length = length(result2);
    logMessage("Length Transferred==>" +length);
    test["name"] = "testing";
    if(length > 0)
         for(int i=0; i < length; i++)
              ProcessInstance.create(arguments : test, argumentsSetName : "BeginIn");
    else
         logMessage("length is-->" + length);
    length = 0;
    Any suggestions on how to isolate the previous obtained instances would be appreciated..
    Thanks,

  • Configuring Main Task of Interactive Activity to use Portlets

    Hi,
    I currently have a ALBPM implementation where we are using Screenflows in our Main Task of the Interactivity Activity to interact with the user.
    Now we plan to replace the screenflow with portlets as we are implementing the Weblogic Portal Server and would like to have all the UI be developed using portlets.
    Unfortunately we are unable to find any tutorial or guide that can help us with the steps involved with the same. And also who can we test the invocation of the portlets using the ALBPM workspace.
    Regards,
    Kartik

    Hi Ritu,
    I'm guessing you might have logic inside your Interactive activity that looks like this:
    input "Enter the customer id: " : customerName
        using title = "Customer Information",
              buttons = ["Ok", "Cancel"]
        returning selectedButton = selectionAlthough I find "input" and "display" statements useful for initial prototyping and some testing, don't take it beyond that. The problem with these statements is that they tie up a thread as long as someone has the input or displayed dialog up. Quickly you'll run out of threads as people march off to lunch with these dialogs left up on their screens. Instead use Screenflows with either JSPs or BPM Object presentations to render information to end users.
    In direct answer to your question though, if you're using the input statement (again - don't do this in production) be sure to handle the variable that contains the value of the button clicked. The above logic would be changed to the logic shown below to handle the Cancel button being clicked:
    selectedButton as String
    input "Enter the customer id: " : customerName
        using title = "Customer Information",
              buttons = ["Ok", "Cancel"]
        returning selectedButton = selection
    if selectedButton = "Cancel" then
       // action is a predefined variable that is an enumeration used in this case to cancel the user's input
       action = CANCEL
    endHope this helps,
    Dan

  • Interactive activity, external task example???

    Hi,
    I'm trying to search for a simple external task example, however it is totally imposible to find anything ... :(
    I would like to make a few questions about it. When you create an external task in a interactive activity, you can specify an URL where the request will be redirected when you click on a external task, but how do you send the information about the specific process you want to work with in the URL? is it possible to pass parameters to this URL ? which is exactly the correct use of the external URL configuration? if I pass the control to an external system, how this system is able to know which BPM process instance to work with?
    Regards,
    Antonio.

    Hi,
    I've recently found out that Aqualogic simply sends the information about the process as request parameters to the external system:
    taskIn:0
    activity:TareaExterna
    instanceId:/ExpenseReport#Default-1.0/6/0
    participantId:Peter Jones
    Very easy, however it is quite frustrating not finding anything about it. I agree with you that it is an upcoming technology, however the documentation of a product should have a minimum of quality, specially coming from an important company as BEA. They offer a functionality and simply do not explain how it works.
    In any case, thanks a lot for answering my question!! :)
    Best regards,
    Antonio.

  • Optional Task in Interactive Activity usage?

    Hi Gurus,
    BPM version : 10.3.2
    You will be appreciated if some could explain about the optional tasks in the Interactive activity? and how can I execute the same using PAPI?
    Thanks in advance.
    -Narasimha

    Hi Ritu,
    I'm guessing you might have logic inside your Interactive activity that looks like this:
    input "Enter the customer id: " : customerName
        using title = "Customer Information",
              buttons = ["Ok", "Cancel"]
        returning selectedButton = selectionAlthough I find "input" and "display" statements useful for initial prototyping and some testing, don't take it beyond that. The problem with these statements is that they tie up a thread as long as someone has the input or displayed dialog up. Quickly you'll run out of threads as people march off to lunch with these dialogs left up on their screens. Instead use Screenflows with either JSPs or BPM Object presentations to render information to end users.
    In direct answer to your question though, if you're using the input statement (again - don't do this in production) be sure to handle the variable that contains the value of the button clicked. The above logic would be changed to the logic shown below to handle the Cancel button being clicked:
    selectedButton as String
    input "Enter the customer id: " : customerName
        using title = "Customer Information",
              buttons = ["Ok", "Cancel"]
        returning selectedButton = selection
    if selectedButton = "Cancel" then
       // action is a predefined variable that is an enumeration used in this case to cancel the user's input
       action = CANCEL
    endHope this helps,
    Dan

  • To use one Global Interactive in two processes

    Hi
    Currently, I have a function say "Display time" defined in a global interactive activity and I have two processes in my project.I have placed one each in every process.However in the application panel , there comes two applications with the same name i.e both global interactives.Is there a way to define only one global interactive for both the processes so that i have only one application in the application panel.
    Thanx in advance
    Ritu

    Hi,
    I tried invoking the same global interactive activity but no success.Actually I am calling a PAPI method 'ClientBusinessProcess.connectTo(processId)' and I guess because of this, my functionality is not excuted since it is not able to connect to the other process where the global inetractive is not placed.
    Can anybody suggest any solution for the scenario explained below?
    Say there are two processes ,Process 1 and Process 2 and I have a global interactive activty placed in process 1 with the method 'ClientBusinessProcess.connectTo(processId)' .Now I want to execute the same global interactive with same method from Process 2 .
    Regards,
    Ritu

  • 11g equivalent for the oracle bpm 10g global interactive

    Hi,
    What is the 11g equivalent for the oracle bpm 10g global interactive activity?
    Thansk!

    The Initiator Task is the 11g equivalent to Global Interactive Activity.
    Find more information here
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15176/human_task_bpmpd.htm
    and here
    http://jamessmith73.wordpress.com/oracle-soa-bpm-11g/simple-bpm-task-initiator/

  • Update Variables through Global Interactive

    Hi,
    I need to update some project variables through a global interactive activity.However,the only problem is that my global interactive does not have instance access.This is so because of i am trying to club two or three funtonalities at one place so that the user has less number of clicks.Hence can anybody suggest any other alternative way to acheive the same.
    Any kind of suggestions will be of great help...
    Ritu

    Backing up a bit, a correlation is like a primary key on a database table. It is a way you can uniquely identify and notify a work item instance in a process. Notifications into a process can either use the unique id.id (e.g. "/ProcessName#Default-1.0/1/0@ProjectName") which is difficult to determine, or a correlation (e.g. order "22378").
    As a developer, there are quite a few moving parts to getting this to work using a Message Wait activity that has an interrupt. Not trying to dissuade you, but I believe you might find that there are more "clicks" that the end user has to do using this technique than if you used a Global Interactive that has instance access.
    If you have not done this before, here are the high level steps you'll need to do as a developer:
    A. Set up the Message Wait activity flow:
    1. Add a Message Wait activity outside of any transitions currently in your process.
    2. Change the Message Wait activity's property to "Allows interruptions"
    3. Change the Message Wait activity to receive input argument(s)
    4. Modify the Message Wait activity to receive the correlation
    5. Add an Interactive or Automatic activity beside the Message Wait activity
    6. Add a transition from the Message Wait activity to the Interactive or Automatic activity.
    7. Add the logic inside the Interactive or Automatic activity to update the project variables and to send the work item instance back to where it was interrupted in the process.
    B. Create the correlation in the process
    1. Create the correlation inside the process for the instance using either an automatic activity or the Begin activity
    C. Create the Global Interactive activity to Notify the process
    1. Add a Global Interactive activity
    2. Add the logic to send the notification to the specific work item instance
    D. Remove the Correlation from the process
    1. Once there is no more need for the correlation, remove the correlation inside an Automatic activity (commonly done in an Automatic activity just before the End activity)
    In answer to your question - just a guess, but you are getting the correlation error probably because you might not have done one or more of these items listed above correctly (specifically items A3, A4, B1 and / or C2).
    Dan

  • Should we use Interactive or Global Interactive?

    Dear Friend Should we use Interactive or Global Interactive if the activity has to be executed from outside using PAPI/PAPI WS and the activity must be passed some arguments to update instance variables?
    Need your help!!

    Interactives and Global Interactives are completely different, in that one is already in an process flow (interactive), and the other can be invoked globally via the workspace (or other manner)... I don't think you want to use either of these...
    It sounds like you want to use Notifications...
    Please give more details as to what you are trying to accomplish, but it sounds like you have an instance going through a process, and at some point you want to change instance variables for it?
    Depending on the details, you could also just try using a database, and having your instance occasionally check for new values... You could possibly use Business Parameters...
    HTH,
    -Kevin

  • Kernal task using 1.03GB RAM in Activity Monitor?

    Hello,
    I  have a 13inch MBP running Mavericks 10.9.4 with a 2.7 GHz i7, 16GB RAM, 500GB HD. I just recently had the machine Factory Reset. The only APP's I've added are PAGES, NUMBERS and KEYNOTE.  When I check the ACTIVITY MONITOR it indicates that out of 16GB of RAM MEMORY, 5.51GB is being used. Usually ACTIVITY MONITOR indicates that as much as 9GB RAM is being used. This MBP is 3 years old and I clearly upgraded the RAM from 4GB (I think) to 16GB. Since this MBP used to run with only 4GB of RAM total; it seems to me that the current amount of memory being used, from 5.51GB up to 9GB out of 16GB total RAM is unusually high. In addition, the above numbers were displayed when only Safari and Activity Monitor are running. Is this normal for Mavericks OSX?
    Thanks in advance for any help.
    Dennis

    I have a 16GB Macbook Pro, and my kernel_task has 1.12GB or RAM,  15.85GB used, split between app memory at 6.67GB, file cache at 7.36GB, and 1.83GB wired.
    So what.  My Mac is running fine.  I do not care how RAM is used, as long as I am getting good performance.
    Unused RAM is wasted RAM.  My Mac is making sure I get full value from my money.
    If you are having an actual performance issue, please describe what you are seeing, what apps you are running at the time, and if you have an anti-malware or Mac cleaner apps running on your system (historical trouble makers).
    If your system is running fine, then either do not worry about it, or follow the pointers Linc has provided.

  • Initiating Global creation activity by quering a database table.

    Hi,
    I want to start the BPM process using
    a) Use a query result for the initial global creation activity. ( -- I have an catalogued object which returns 'docNo' and 'status' column values from a database query already.)
    How do I do this piece wherein I call the automatic activity from the global creation activity.
    I want the
    b) User clicks on the Review Claim link to pull up the claim to approve the claim. -- secondary part ( use the docNo to pull up claim detail from the database and present in the form for approval)
    So there are 2 parts, List the claims awaiting approval and then the individual approval.
    How do I get the user to log into a BPM workspace ( login screen) and get a list of claims for approval.
    Example:
    doc1#, amount, <Approve ReportLink>
    doc2#, amount, <Approve ReportLink>
    doc3#, amount, <Approve ReportLink>
    Angelo

    Hi Angelo,
    Looks like part of your thread was cut off. This is mostly to see if I might be able to fill in the blanks.
    I'm guessing you are thinking about using a Global Creation activity to perhaps bring up a list of claims and that the row or rows returned from the database could each create a separate new work item instance. Did I get that right?
    If that's correct, don't use a Global Creation. Instead use a Global Interactive to display the rows. For each row approved an new work item instance might then be created in the process for each one you approved. You'd use a Screenflow behind the Global Interactive. Inside the screenflow you'd have an automatic task to retrieve the rows from the database. This would then flow to a Interactive task inside the screenflow that has been assigned a BPM Object presentation to display the rows inside a Group. You'd then follow this with another automatic task that looks at the Group (array) of items selected in the UI and then programmatically create a work item instance for each one selected.
    Hope this helps,
    Dan

Maybe you are looking for

  • NO INTERNET SERVICE SINCE SATURDAY!!!!!

    Hey, I'm Jersey City, I don't have any internet connection since 10/29 Called support yesterday and they said that Verizon has some issues in the area. Promised to get the service up by midnight. I still have no connection.(WTF!!!) Anyone else experi

  • How to use BOR object?

    Hello, We have never used a BOR object. We want use FIPP object. How can we do it? How can we call the Post method? Thanks a lot. Edited by: LM on Sep 8, 2008 11:07 AM

  • How can I convert external CSS to all be defined in page?

    I need to move all CSS to be defined in the head of the page.  Is there an easy way to do this with DWCC?

  • Unable to open photo's e-mailed to me in .jpg format

    When I receive a photo I am unable to open it. A blank page on Live Photo Gallery flashes but no photo appears. All photo's are jpg I have sent the same e-mail to my work PC and photo opens just fine. Thank You

  • BADI DOUBT......

    HI frnds...     can u help me in solving this issue. When creating a purchase order, the system use the language maintained in the vendor master.  This standard SAP functionality caused several issues with the markets as the current logic will oblige