How to close all the human task of a single process, when it ends?

Hi all

I have the following situation on the process divided into 2 parallel lines at the beginning.
One way (let's call the PATH A) allow the user the cancel user tak of the process and at the end of the process directly goto.
The other way (let's call it PATH B) is the process where the human tasks and after various steps at the end of the process are created.

The user of the following:
Istanziate the process.
Met same human, but other tasks are still open... (CHANNEL B)
After this I decide to run the task from the user to cancel. (PATH A)
Because tasks human istances are indipendet since the life cycle of the process, my end of process, but I have same human task always open.

How can I close these human tasks always open when the process is complete?
Is there sort via the BPM API or any other way to do it automatically in the path?

If you have any doubt I can explain more.

Ciao

I'm sure I misunderstood what it is that you do, but it seems you have a parallel gateway in your process and you have a path (your 'B' path) that comes out through the join and the other path (your 'A') has the opportunity to go out with an end event.

If this is the case, then you might want to change that a parallel to the contrary to be a bridge parallel and complex gateway. Before you start, you want to add a new string data object in your process that store the result of the Interactive activity specifically in your path A (for example, "outcomePathA"). You would then be the right mouse click the parallel join-> click on "Configuration of the bridge of change to"-> click on "parallel and complex." You might, then right click on the new complex join-> click on 'Properties'-> click the "Application" tab-> check the box 'Abort pending flow. " On this same tab, set the logic to verify your result string variable to know if they clicked on the Cancel button of the track 'A' (for example ' "outcomePathA == 'CANCEL'). You also want to change the sequence flow for the path 'A' to connect to the join. Know you want to leave if she takes A path, so after the join, you can then add an exclusive gateway to check to determine if the user clicks Cancel in the path and have a sequence flow to go to an end event if this is the case.

Tags: Fusion Middleware

Similar Questions

  • How to close all the worksheets at once

    Hello

    How to close all the worksheets at the same time (with one click)?

    It of so annoying to close one by one and asked if you want to save the script or not.

    Thank you

    Have you tried right-clicking on the name of the tab and selecting 'Close All '?

  • How to close all the tabs in safari iOS 9

    I have several tabs open. How can I close them at the same time?

    on the iPhone and iPad?

    Hello, check this thread: Ios9 how close all tabs in safari

  • How to close all the browser without blemish?

    Hello

    When my script fails, I want to close all open browser windows (in one (try /) catch).

    I tried:-browser.close(): it really does work. Maybe I'm not using correctly.


    I also tried a

    While (web.exists ("[web: window[@index='0']"))
    {web.window (web:window[@index='0']").close() ;} I use a loop because it depends, sometimes, more than 1 window opens


    This second solution seems to work better.


    But there are still cases where a window will remain open.


    Is there another way and the best way to close all browser windows? Perhaps with the browser.close () method?



    Thank you



    Michael

    Hello

    It seems that you are doing the right thing, if there is a browser open is because OpenScript is unclear on this issue. You can try using the following code

    Duration rt = Runtime.getRuntime ();
    String [] callAndArgs = {"taskkill", "/ F", "/ IM ', 'iexplore.exe'};

    try {}

    Process child = rt.exec (callAndArgs);
    child.waitFor ();
    getLogger () .info ("exit code is:" + child.exitValue ());

    } catch (Exception e) {}
    getLogger () .error ("ERROR:" + e.getMessage ());
    }

    Who will use the windows taskkill command to kill IE.

    I hope this helps.

    Concerning

    Alex

  • How to stop all THE photos from windows photo gallery out when sending an email with a photo?

    Envoy what I thought was a photo of photo of photo gallery / scanned and it showed my ENTIRE photo library! How you stop that?

    It is in fact the import setting in windows live photos, which is to open the wlpg program when you import from any device, camera / scanner...

    Open wl photo gallery,

    Click on the blue button at the top left,

    Go to the registration options

    Import the section tab and check these settings.

    As to why he gives full access to all your files, you must be jumping the party permissions or not noticing.

    If you use outlook, you might think about changing your default Photo Editor / viewer of office picture manager so the issue is not returned.

    Go to default programs in the start menu,

    Click on associate a file type and Protocol in a program.

    Click on types of photo files you have, jpg / jpeg... and click on change, search for default, Office Picture Manager by clicking Close will record the changes you have made.

  • I'm trying to close my Hotmail account, but it won't let me until I close all the browser cookies. How can I do this?

    original title: how to close all the browser cookies

    I would like to close all of my hotmail accounts but you don't let me until I close all my browser cookies. Can you tell me how to make this rask.

    You can't 'close' browser cookies.  You can, however, remove them.  This error message you see makes you think you need to do this?  How are you trying to close your Hotmail accounts?

    If you use Internet Explorer, delete cookies by clicking Tools > Internet Options.  "Click on remove in the 'browsing history' on the general tab, cleck the Cookies box", then click on remove.

  • How to close all programs to uninstall end

    How to close all programs for the end of the uninstallation.

    pls advice

    Hello

    It is clear from the description that you want to close all programs to uninstall end

    First of all the notes that you should not close all programs, because many of them are programs of the system and their closure will result in the failure of the system

    1. Right-click your taskbar and click on "Task Manager" or use the combination Ctrl + Alt Delete to open the Task Manager.
    2. In the processes window, select the programs you want to close, and then click "End task" at the bottom

    If you want more help, reply to this message

    Ashwin0

  • Cannot drag the DataObject to the human task

    why I can't drag the dataobject object to set the parameters of the human task?

    In the control panel to create a human task,.

    Press the + and in the data to find object window I drag my data object to the human task pane

    He organizers can't work, task human Panel cannot receive the value of what I move to traverse it, window of the data object.

    Anyone know?

    If you plan use JDeveloper with Oracle BPM, you will need to get the JDK 1.6.

    Are you asking how to make JDK once JDeveloper has already been installed?  Instead of find all the configuration files that JDeveloper uses to identify the JDK, it will use, in my opinion, the best, safest and fastest by far is to simply reinstall 11.1.1.7.

    When you reinstall, be

    1. use the JDK that is bundled with JDeveloper (JDK 1.6.0_24) by selecting the 'Complete' installation or
    2. Download and install a 1.6.0_24 + JDK and then reinstall JDeveloper by selecting installation "Custom"->, uncheck the JDK group check box and select the "Browse" button to find and select the JDK 1.6 you have installed

    Dan

  • Any time, I'm trying to uninstall maelstrom of my computer, it keep telling me to close all the windows in maelstrom

    Original title: uninstall maelstrom

    any time, I'm trying to uninstall maelstrom of my computer, it keep telling me to close all the windows in maelstrom, but I can't find more

    Hello

    Thanks for posting your query to the Microsoft forum. I will definitely help you with this.

    I would like to know;

    What operating system is installed on your computer?

    I provide you the Windows 7 troubleshooting steps that you did not mention Windows in the wireless category

    This could be due to services running on the background. Close your Maelstrom so that you can make a success, complete uninstall.

    Step 1: Stop the associated process. Press Ctrl + SHIFT + ESC to open the task and then manager stop all processes related to Maelstrom.

    Step 2: Run the fixit to uninstall the program

    The problems that the programs cannot be installed or uninstalled

    https://support.Microsoft.com/en-us/mats/program_install_and_uninstall?WA=wsignin1.0

    Step 3: Check programs and features, if you see the program you uninstall.

    Uninstall or change a program

    http://Windows.Microsoft.com/en-us/Windows/uninstall-change-program#uninstall-change-program=Windows-7

    Hope this information is useful. If the problem still persists, please post back for further assistance, we will be happy to help you.

    ____________________

    Thank you best regards &,.

    Isha Soni

  • How to draw all the info my old to my new laptop computor

    Original title: draw all the information in my old laptop to the new

    How to draw all the info my old to my new laptop computor

    Hello

    1. What are the operating systems installed on both computers?

    2 you want to transfer all the settings from the old computer to the new computer?

    You can use Windows Easy Transfer to perform the task.

    http://Windows.Microsoft.com/en-us/Windows7/products/features/Windows-easy-transfer

    Hope this information helps

  • How to find all the my post anywhere in the forum?

    Desktop HP Pavilion Elite HPE - 110 t... Operating system: Windows 7 Home Premium

    .

    Several months ago (maybe even a couple of years), I discovered that backup/restore are not created.  At this time I posted a question here.  Which lead to a very long series of back & suite assignments between myself & a answering machine (name?) & Finally I planned a daily task to create backup/restore points.  I saved the instructions into a Word document on my computer, but now I can't find them.

    .

    I just found out that there is still no restore point, even though the Task Scheduler shows that he ran this morning @ 02:00.

    .

    I just searched (I thought that all the forums here) for my username (jarhtmd) & only found 4 son, none of whom was what I was looking for.

    .

    How to find all the my post anywhere in the forum?

    Hello:

    Click on your user name to access your user name page.

    Then click recent posts by jarhtmd. Click on view all.

    Maybe it's the post you were talking about.

    http://h30434.www3.HP.com/T5/desktop-operating-systems/scheduling-system-protection-backup-restore-points/m-p/647911#M32431

    Paul

  • To access the output parameters of the human task

    Hi all.

    I encountered a problem I find
    very irritating. I already searched the
    Forum, and read in the net regarding
    This topic, but still have not been able to resolve
    the question.

    I have a simple type string variable
    ({[http://www.w3org/2001/XMLSchema]}, string)
    called "myName".

    First of all, I'm the initialization of this variable with the
    String "none":

    {color: #333333} & lt; assign the name = "setVariable" & gt;
    & lt; copy & gt;
    & lt; from expression = "string ('none')" / & gt;
    & lt; variable = "myname" / & gt;
    & lt; / copy & gt;
    & lt; / assign & gt; {color}

    Then, I'm passing this variable as an argument
    for a human task called "provideName", which has a
    editable attribute called 'userName ':

    {color: #333333} & lt; copy & gt;
    & lt; from variable = "myname" / & gt;
    & lt; variable = part of the "initateTaskInput" = "payload" query = "/ taskservice:initiateTask / task: task / task: payload / task: username" / & gt; ".
    & lt; / copy & gt; {color}

    Finally, just after the human tasks receive activity,
    I'm to pick up the so-called modified value and copy it
    Back to my variable:

    {color: #333333} & lt; copy & gt;
    & lt; variable from = part of the "provideName_1_globalVariable" = "payload" query = "/ task: task / task: payload / task: username" / & gt; ".
    & lt; variable = "myname" / & gt;
    & lt; / copy & gt; {color}

    After deployment and begin the process, I pretend that the task
    on the task list interface, change the next text field of the
    label 'userName' to 'none' to 'Tim', select 'APPROVE' and
    Press the button "GO". "." I get the "your request has been processed.
    successfully "-notice and the flow is reported to have"
    done, BUT: looking at the Audit trail, I find that the
    variable 'myName' has not really changed its value. There
    always 'none '.

    What I am doing wrong? I would be grateful for your help.

    Thank you!
    Pie

    -----
    Edited by: Tadhg207 (-& gt; format)

    Looks like you're doing all the right steps.

    The user saves the form (at the top right) before submitting?

    see you soon
    James

  • How to remove all the photos from my iphone 5?

    How to remove all the photos from my iPhone 5?

    1. Open the Photos app.
    2. Click on the photo or video you want to delete.
    3. Type > delete the Photo.

    Delete several photos

    1. Open the Photos app and press Select.
    2. Click on each photo or video that you want to remove.
    3. Type > delete Photos.

    Delete photos on your iPhone, iPad and iPod touch - Apple Support

  • Sometimes I want to just close ONLY a window, but Firefox closes all THE TABS, and I don't want to!

    Sometimes, I open multiple windows, especially from my box from Comcast. When I'm through with this window, I will conclude, but leave others more open. FIrefox won't do this anymore when I close the 1 window, Firefox send me a message stating that it is to CLOSE all THE TABS. I DON'T want TO CLOSE all of them, I want to just close the window I close!. This is very annoying, because I have to re - login to all, because FIrefox is 'CLOSE all THE TABS', and everything I want to do to close a window... I'm about to chuck this browser... I tried to find an answer to this in the tools, but was unable to do so. Please help me with this

    Make sure that you do not click the X close in the title bar like that closes the active window with all the tabs.

    If you have the tab bar visible then click the X close this tab or mid, tab, or use the shortcut Ctrl + W key to close the tab.

    If the resulting tab bar hidden then see:

  • How to remove all the pictures imported from my I phone 6

    How to remove all the pictures imported from my I phone 6

    Imported from the place where?

    If they were imported from your computer, you remove the same way that you put on there: by syncing with iTunes. to remove them, you need to synchronize an empty folder, or simply turn off the Photo in the form of synchronization option summary pane when the iPhone is connected.

Maybe you are looking for