PBL to retrieve all instances assigned to a participant

Hello

I have a requirement to print a series of work items in a single PDF file. I think I may have a solution, but faced with the PBL - any help appreciated. My solution is as follows...

* The participant will affect a number of work items by using bulk actions-> for me
* Use a Global call a screen flow interactive
* Screen flow activity includes PBL to retrieve all the work items that are assigned to the current user
Take all the necessary data from the work items and move into a generation of PDF as a printing element service.

Could someone please help with how I would recover all bodies assigned to the current user in PBL? I use Oracle BPM 10.3.

Thank you

Neil

Published by: user13297570 on July 2, 2010 09:32

Neil - try something like this to get a list of instances assigned to the current participant:

busProcesses as BusinessProcess
instanceFilter as InstanceFilter
instance as Fuego.Papi.Instance
processName as String = "/" + ""

connectTo(busProcesses, url : Fuego.Server.directoryURL,
   user : "",
   password : "", process : processName)

create instanceFilter
    using processService = busProcesses.processService

instanceFilter.searchScope = SearchScope(participantScope : ParticipantScope.ALL,
statusScope : StatusScope.ONLY_INPROCESS)

addAttributeTo instanceFilter
    using variable = VarDefinition.PARTICIPANT_ID,
          comparator = Comparison.IS,
          value = Participant.id

// list the instances
for each inst in getInstancesByFilter(busProcesses, filter : instanceFilter) do

end

Dan

Tags: Fusion Middleware

Similar Questions

  • Change an instance variable on an instance assigned to a participant

    We have a situation where an instance is an interactive activity, and this instance is assigned to a participant. Is it possible to programmatically change the value of an instance on the instance of another variable instance (or to add another element in a table of the instance on this instance) while it is assigned?

    Hello

    Here are a few thoughts.

    Even if the instance is assigned to a player, you may:

    1. ask the instance to store only the primary key for an external database table. As long as the other participant knew the key, they could search for and update a comprehensive Interactive activity information.

    2. you can temporarily stop the instance using a notification. If your process has an activity wait Message that has a property "Interruption" turned on, once notified - the instance would be automatically routed to the Message wait and the Interactive activity, you have downstream of the waiting Message activity. This Interactive inside your other user can edit the information. Once completed, the instance would go to an automatic activity that has logic "action = BACK" and may reallocate the instance to the original participant.

    Hope this helps,
    Dan

  • SQL query to retrieve all instances of a model within the column

    I had an obligation to build a query for the scenario below. Pls help to troubleshoot.

    Scenario.
    Table 1 has two columns < number > col1 and col2 < CLOB >
    The table has 2 rows

    < Number > col1 has the following values
    Row1-col1
    1

    Row2-col1
    2

    Col2 < Clob > has the following values

    Row1-col2
    blah blah blah blah blah blah blah A1235 A1234
    blah blah blah blah blah blah blah A1237 A1236

    Col2 Row2
    blah blah blah blah blah blah blah A1239 A1238


    The query should return (expected result)
    A1234
    A1235
    A1236
    A1237
    A1238
    A1239

    I tried with the substr, but it returns only the first occurrence of the pattern

    Query:
    Select
    REGEXP_SUBSTR (col2,
    "A [0-9] {4}') 'REGEXP_SUBSTR'"
    FROM table1


    Output:
    A1234
    A1238


    I want a loop must be created and check until the end of the column.
    Pls help me with the query. It will be useful.

    Thank you
    Nanan

    Published by: 950268 on August 1, 2012 07:19

    You can simulate loops with sql functions as the clause-type (since 10 g) or recursive subquery (since 11.2).
    Generally in this forum link it by the approach will be proposed.
    The depth will be the number of occurrences of your model and the level will be the real occurency.
    So just search inthi forum for an abundance of examples

    select regexp_substr(col2, 'A[0-9]{4}', 1, level)
    from tabel1
    connect by
    level <= regexp_count(col2,'A[0-9]{4}')
    

    regexp_count since 11. ?

    concerning

  • How to retrieve an instance of composite of SOA in cloud 12 c OEM control

    Hi all

    We all agree that we have the ability to recover a faillees SOA composite instance (which is recoverable) in Oracle Fusion Middleware control but do we not have the ability to retrieve an instance of composite of SOA in OEM 12 c Cloud Control? If so, can then someone tell me how can I recover a composite SOA instance that is recoverable in OEM?

    Because I have not found any button of... ' ' Get back ' to the SOA composite body which is recoverable.

    Thanks in advance!

    Currently, you can retrieve a composite instance of EM 12 c console, however, in the future releases we plan to integrate this feature in EM.

  • Function to retrieve all the days of the previous month.

    Hello

    Yes, it's a monthly report, I received the task at hand.

    So, all I need is every day of the previous month (even if there is no data for that day)

    I was instructed to use the following code, but it does not return a value any:
    DECLARE
       CURSOR CUR_LAST_DAY IS
          SELECT TO_CHAR (LAST_DAY (ADD_MONTHS (SYSDATE, -1) ), 'DD')
            FROM DUAL;
     
       VVA_LAST_DAY   VARCHAR2 (2);
       --
       VNU_JOUR       NUMBER       := 0;
    BEGIN
       OPEN CUR_LAST_DAY;
     
       FETCH CUR_LAST_DAY
        INTO VVA_LAST_DAY;
     
       CLOSE CUR_LAST_DAY;
     
       WHILE VNU_JOUR <= TO_NUMBER (VVA_LAST_DAY) - 1
       LOOP
          VNU_JOUR := VNU_JOUR + 1;
       END LOOP;
    END;
    --CLOSE CUR_LAST_DAY
    --DEALLOCATE CUR_LAST_DAY
    -----
    On the other end, I developed this code:
    SELECT TO_CHAR(SYSDATE,'dd')
    FROM DUAL
    WHERE TO_CHAR(SYSDATE,'dd') >= to_char(to_date(to_char(ADD_MONTHS(SYSDATE, -1),'yyyy-mm')||'-01'),'yyyy-mm-dd')
    AND TO_CHAR(SYSDATE,'dd') < to_char(LAST_DAY(to_date(to_date(to_char(ADD_MONTHS(SYSDATE, -1),'yyyy-mm')||'-01'),'yyyy-mm-dd')));
    Which returns a null value. :(

    Concerning

    Hello
    You want to retrieve whole days of the month last query... So here's...

    SELECT
    TO_DATE(LEVEL||'-'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MON-YY'),'DD-MON-YY') COMP_DATE,
    TO_CHAR(TO_DATE(LEVEL||'-'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MON-YY'),'DD-MON-YY'),'DD') ONLY_DD,
    TO_CHAR(TO_DATE(LEVEL||'-'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MON-YY'),'DD-MON-YY'),'MM') ONLY_MM,
    TO_CHAR(TO_DATE(LEVEL||'-'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MON-YY'),'DD-MON-YY'),'YY') ONLY_YY
    FROM DUAL
    CONNECT BY LEVEL <= TO_NUMBER(TO_CHAR(LAST_DAY(ADD_MONTHS(SYSDATE,-1)),'DD'))
    

    I'm not at the machine database so not tested.

    But one thing do not forget that this forum only for reports, it is a separate SQL and pl/sql instance.
    Function to retrieve all the days of the previous month.

    -Clément

    Published by: Graham on April 22, 2010 22:53
    Spelling error

  • How to close the instance of Firefox launched via file/new window without killing all instances of Firefox?

    Before the last update Firefox, running on Ubuntu if it makes a difference, I was able to select close on the file menu (and if memory is also by clicking the x on the last tab) to exit an instance of Firefox open via file new window.

    With the 9.x update this no longer seems to be possible. If I choose the file altogether starting an instance that was launched via the new window, all instances of Firefox away!

    It's embarrassing because I have to leave all the instances that have been launched.

    I tried closing last tab add on, and it allows me to close the last tab content but still leaves the instance running with a blank tab.

    Is there a setting somewhere that I missed to restore the operating mode to exit the additional instances of Firefox without killing all the previous configuration?

    Thank you
    Burt

    Each window must have its own close button (big X in the right corner.)
    But it depends on the 'Theme' that you use in Ubuntu. This large X chould be a round point when you hover over the color changes. It could be on the left instead of the right site.
    This screenshot shows the close the left side, but always an X button.

    CTRL + SHIFT + W closed the window Active.
    CTRL + W closes the current tab.

  • How to change all instances of an audio note in voice

    On some YouTube video I saw the guys set a voice note that PitchCorrect showed was a half-step lower. "And if you want to do this to all instances of that note, just that [,]" and I forgot what it was.

    It would be very useful. If you're flat on a certain note, for example, you can correct all instances of lowered both note.

    see you soon

    In the file editor... Select the location on the piano keyboard, and all notes with this field will be selected...

  • Is there an automatic procedure to retrieve all the drivers on the Satellite U200?

    I have re-installed XP on my Satellite U200 and lost all drivers and settings. Is there an automatic procedure to retrieve all the? I'm a bit mazed by 52 varieties of the drivers available on the support web site.

    Thank you.

    Alexey.

    You are going to use the Toshiba Recovery CD or will allow you to install all the drivers manually.
    I guess the recovery with XP CD is not available for this laptop and therefore only the manually installation is possible

  • Try to remove duplicates, "show exact duplicates" check all instances of some songs

    I'm trying to remove the duplicates in my iTunes (in thousands) library. I view "replica", but for some songs, it checks all instances of the same song, so I can't delete checked without losing these songs in total. Is there a way to fix this, or what I have to go through the entire library of the song?

    Using the latest version of iTunes on a windows PC.  I read the instructions for the removal of duplicates, but my situation is not covered.

    Thank you

    If an entry in a list of audit checks another which makes me suspect that you watch a playlist in which the same elements have been added more than once, rather than the main list of music. The boxes are global in iTunes. One of the phases in my deduper script mentioned below clearly these duplicates of playlist, however, in its current form you need to run it on every playlist where you have this problem if only would you fix this type of problem. For the cleaning of the library to start with the source music in the view of songs and use exact replica. The current version requires counties to disk and the number of titles to match who I'm not sure was always necessary. If you don't see any duplicates that you would expect that maybe why.

    Official notice of Apple on the duplicates is here: find and remove duplicates in your iTunes library. This is a manual process and article fails to explain some of the potential pitfalls such as the lost coast and membership of playlist, or sometimes the same file can be represented by multiple entries in the library as well as a removal and recycling the file will break all the others.

    Use MAJ > view > show items to reproduce exactly to display the duplicates because it is normally a selection more useful. You must manually select all but one of each group to remove. Sort the list by Date added can make easier select appropriate tracks, but it works better when executed immediately after the dupes were created.  If you have several entries in iTunes connected to a same file on the disk hard then don't not send to trash.

    Use my DeDuper script (Windows only) If you are not sure, do not want to do it by hand, or want to maintain ratings, play counts and playlist membership. See this background thread , this post for detailed instructions and Please take note of the warning to back up your library before deduping.

    (If you don't see the menu bar press ALT to temporarily view or CTRL + B to keep displayed.)

    The latest version of the script can put away the dead links as long as there is at least a double live to merge his stats and membership of the playlist and must deal wisely when the same file has been added through multiple paths.

    TT2

  • Search for all Instances of script

    Hello, I was wondering if there was a way to programmatically use the find all Instances with scripts?  At the moment my work around is very slow, but works.

    I have a reference to a VI and I have my open project, then I want to find all the places that this VI is used.  For the moment, I get all the screws in memory (Application > all screws in memory), then for each VI I get all the SubVIs on the block diagram (browse the references).  Then for each Subvi in each VI in memory, I get the path to the VI and compare it to the path of the VI I want to find.

    As you can imagine it lasts too long.  Especially when I can click right icon of my VI and say find all Instances and apparently instantly get all 6 instances.  I searched for a while and could not know if it was possible, or how to do it.  Thank you.

    My attempt, called account only the number of times that the search VI is attached.

    Well, that was easy, don't know why I do not think that this.  In any case, I did a new VI that does what you mention and indeed it works much more quickly.  Attached is the enhanced version, in case anyone was interested.

  • Windows Update 0x800A0046 error code. Have tried all the solutions proposed in all instances, including running MS Fix It. Nothing works.

    Have tried all the solutions proposed in all instances, including running MS Fix It.  Nothing works.

    Did you use this guide:

  • How do mediacentre show all instances of a series recorded as an icon in the form of registered programs

    Media Center used to show only 1 screenshot icon through a series of recorded programs. by clicking on this screenshot, all other records showed in the series. Now, all instances are presented individually.

    I prefer the view 'nested' How do I get it back please?

    Hi RC57APR,

    I suggest you to re-run the installation of Windows Media Center and check if it helps you to change the display of the series recorded as you display earlier.

    To rerun setup the Media Center window, follow the steps below:

    a. open Windows Media Center.

    b. Select the task and click settings.

    c. click general, click Windows Media Center Setup.

    d. click on run the installer again.

    This will reset the preferences. Check to see if it helps you find the view or the earlier registrations.

    I hope this helps. Let us know the results.

    Thank you and best regards,

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Get all instance names in a fla.

    Is it possible to get a list of all instance names in a fla?

    All instances in the movies, animations and on the maintime line? I don't know if flash titles it.

    The code below I have tried to update to run in AS3, but he continues to throw errors.

    function traceAllChildren(rootContainer:DisplayObjectContainer):void {}

    If (rootContainer is MovieClip)

    {

    for (var i = 0; i < rootContainer.numChildren; i ++) {}

    var point = rootContainer.getChildAt (i);

    traceAllChildren (item);

    trace (Item.ToString ());

    trace (rootContainer);

    trace (this.numChildren);

    }

    }

    on the other

    {

    trace ("no");

    }

    }

    traceAllChildren (this);

    TypeError: Error #1034: Type coercion failed: cannot convert flash.display::Shape@afba111f51 to flash.display.DisplayObjectContainer.

    at test_fla::MainTimeline/traceAllChildren()

    at test_fla::MainTimeline/traceAllChildren()

    at test_fla::MainTimeline/frame1()

    use:

    function traceAllChildren(rootContainer:DisplayObjectContainer):void {}

    If (rootContainer is MovieClip)

    {

    for (var i = 0; i)< rootcontainer.numchildren;="" i++)="">

    var point = rootContainer.getChildAt (i);

    If (item is DisplayObjectContainer) {}

    traceAllChildren (item);

    }

    trace (Item.ToString (), Item.Name);  //<- if="" you="" want="" instance="" names,="" you'll="" need="" to="" use="" the="" name="">

    trace (rootContainer);

    trace (this.numChildren);

    }

    }

    on the other

    {

    trace ("no");

    }

    }

    traceAllChildren (this);

  • All instances of object in the master page

    I have a field of text at the top of my master page object. When the user selects from a drop-down list object, background color of the text box must change from white to green, yellow or red. I have created the script to the change event of the fall down and it works properly until a second page is created dynamically, as a result of text, the user added to other areas. How can I select all instances of the text field?

    Here is my script:

    Form1.Subform4.Table2.Row1.Overall[0]::change - (JavaScript, client)
    if ($.boundItem(xfa.event.newText) == "Green") {
      xfa.resolveNode("#pageSet.Page1.OverallTop").border.fill.color.value = "204, 255, 204";//green color
    }
    if ($.boundItem(xfa.event.newText) == "Red") {
      xfa.resolveNode("#pageSet.Page1.OverallTop").border.fill.color.value = "204, 255, 204";//red color
    }
    if ($.boundItem(xfa.event.newText) == "Yellow") {
      xfa.resolveNode("#pageSet.Page1.OverallTop").border.fill.color.value = "255, 255, 0";//yellow color
    }
    

    Hi DKinsley ,

    I had a similar problem and solved in this way:

    You must change the JavaScript code in this way, you change all cases on each masterpage, where the element is inherited.

    In you case the code would probably look like this:

    Form1.Subform4.table2.Row1.overall [0]: change - (JavaScript, client)

    • If ($(xfa.event.newText) .boundItem == "Green") {}
    • xfa.resolveNode ("pageSet.NameofMasterpage [0].") OverallTop'). border.fill.color.value = "204, 255, 204; green color
    • }
    • If ($(xfa.event.newText) .boundItem == 'Red') {}
    • xfa.resolveNode ("#pageSet.NameofMasterpage [1].") OverallTop'). border.fill.color.value = "204, 255, 204; red color--> that is the same color as above
    • }
    • If ($(xfa.event.newText) .boundItem == "Yellow") {}
    • xfa.resolveNode ("#pageSet.NameofMasterpage [2].") OverallTop'). border.fill.color.value = "255, 255, 0; yellow color
    • }

    I'm not that good in coding, so maybe the code should always get running, but I hope it points you in the right direction.

    Best

    Dietmar

  • How can I retrieve all the values in a single query in the oracle XML

    Hi all

    I have xml format below, how do I retrieve all the values in a single query.

    < files >

    < job > MANAGER < / job >

    < details >

    < ename > JONES < / ename >

    < sal > 2975 < / sal >

    < ename > BLAKE < / ename >

    < sal > 2850 < / sal >

    < ename > CLARK < / ename >

    < sal > 2450 < / sal >

    < / details >

    < / documents >

    Thank you

    I prefer desgin a little more sophisticated xml and wrap the details in a separate label.

    Then you could something like that

    1 with testdata until)
    2. Select xmltype)
    3'
    4 MANAGER
    5


    6
    7 JONES
    8 2975
    9

    10
    11 BLAKE
    12 2850
    13

    14
    15 CLARK
    16 2450
    17

    18

    19
    20 ') in the form x
    21 double
    22)
    23 select
    24 j.job
    25, d.ename
    26, d.sal
    27 of testdata
    28 join
    29 xmltable ("Scriptures" in passing testdata.x)
    30 columns
    31 job varchar2 (30) path "job."
    32, details xmltype path «details»
    (33) j
    34 (1 = 1)
    left outer join 35
    36 xmltable (' details/emp' in passing j.details)
    37 columns
    path of varchar2 (30) 38 'ename' ename
    39, path of varchar2 (30) sal "sal".
    (40) d
    41 * (1 = 1)
    >/

    JOB                            ENAME                          SAL
    ------------------------------ ------------------------------ ----------
    JONES MANAGER 2975
    BLAKE MANAGER 2850
    MANAGER CLARK 2450

Maybe you are looking for

  • Cannot install the updates, error 0x8007F0F4

    I can't download the update... tried KB2686509 on several occasions.  Get error 0x8007F0F4

  • HP 2540: 2540 very difficult Question.

    HP 2540 very difficult question!  Where to place a document on the glass before scanning/printing? (Upper-corner L, R, L corner, lower corner R, center top corner).

  • Reference Dell system detects

    I would like to get rid of this program. Win Patrol popups all the time asking if I want to give this authorization of program start-up and Malwarebytes it signals like a PUPPY. When I go to the control panel and try to uninstall on a Windows 7 machi

  • Delete the folder of any printer?

    I had problems with my printer.  I asked about this a few months ago and although he got a lot of advice, nothing worked.  Here are my main inssue.  My printer just stopped working.  I can still scan things in the computer and use the slots in the ca

  • new issues of Area 51?

    I got it yesterday, 4 days before estimate if that is fine. So far, I'm not impressed by windows 10... but I do it maybe useful. I ordered this machine for the games.  I use game on a XPS700 and lost interest. Then picked up an iMac and loved it... b