Selective disable/enablement of sub workflows

Hi,
I am trying to design workflow with fork(For parallel execution) and many sub workflows. These sub workflows are totally independent of each other and cna have parallel execution. My requirement is to given an option for user to selectively enable/disable subworkflows.
For ex: My workflow has around 15 subworkflows and all the users may not want all 15 but just a few workflows to be triggered.
Is there any way to achieve this from using a entry in customizng table where he mentions which all subworkflows he wants to be triggered and only those subworkflows are triggered, when the workflow is triggered?
Regards,
Srini.

Hi srini,
I think maintenance wise it's better.
Because basically you're flow would be
   |
  / | 
 A B C
Based on ?
any combination of A, B, or C would have to be performed.
You can do this with the builder in one flow,
Then it would have a lot of conditions, or some kind of intelligent conditioning,
You can for instance assign a number to A, B and C with binary values (i.e 1, 2 and 4)
And then based on ? you add these numbers, so that in the worfklow you know what to do.
flow would look like
a multiple condition:
? = 1 --> A
? = 2 --> B
? = 4 --> C
? = 6 --> B & C
Etc.
With the above way, you can also know in any step of the flow if one of A, B or C is needed.
It is however verry intensive to maintain espescially if an extra sublflow is needed. With events you don't really care.
Kind regards, Rob Dielemans
Message was edited by: Rob Dielemans

Similar Messages

  • How can I disable Select Tool & enable Hand Tool using Adobe JavaScript ?

    How can I disable Select Tool & enable Hand Tool using Adobe JavaScript ?
    I want wherever the PDF opened automatically preferrence changed, default HAND TOOL remain selected. I want to do it using Adobe JavaScript.

    You are correct in that it's not functioning, however I do not have that option under the "online and adobe online" section in Adobe Customization Wizard XI.  I have the following boxes that can be checked:
    "Disable initiating shared reviews and data collection via distributed forms using Adobe online services (does not affect non Adobe online services reviews and forms).
    "Disable the Tools pane in Reader"
    "Disable file storage on Adobe online services"
    "Enable file storage even when all other services are disabled"

  • How to selectively disable Header & Footer/How do we retrieve the PageName in the custom navtype cla

    I would like to disable the Header and Footer for the login page. In my Custom Navigation Type class, I went ahead and made the following changes to the isFeatureEnabled() function.
    if(feature.Equals(NavFeatureEnum.TOPBAR))
    returnfalse;
    if (feature.Equals(NavFeatureEnum.HEADER))
    return false;
    But this essentially disables the header and footer for the entire Sub Portal. How can I retrieve the PAGE NAME in the Navigation Type class so that I can selectively disable the feature. This is what I would like to do
    if (pageName.equals("LOGIN")) {
    if (feature.Equals(NavFeatureEnum.HEADER))
    return false;
    Appreciate anyone's help in resolving this issue.
    Thanks
    Vikram

    Vikram,
    Unfortunately, you there is no way to check for page name inside the IsFeatureEnabled method. What you could do, if you want to always disable the header and footer in all navigation schemes, is to change com.plumtree.portalpages.common.uiparts.PlumtreeDP to have it check for current page name. In the Display method, search for
    displayHeader = GetPlugNavFeature(navType,NavFeatureEnum.HEADER);displayFooter = GetPlugNavFeature(navType,NavFeatureEnum.FOOTER);
    and change it to:
    if ( !LoginAS.STR_MVC_CLASS_NAME.equals(GetOwner().GetName()) ) { displayHeader = GetPlugNavFeature(navType, NavFeatureEnum.HEADER); displayFooter = GetPlugNavFeature(navType, NavFeatureEnum.FOOTER);} else { displayHeader = false; displayFooter = false;}
    Just remember that we might make changes in PlumtreeDP in future updates. You would have to add this code in again if we do.

  • Rules are disabled after disabling/enabling account.

    Hi,
    I have an applescript that enables or disables my work account depending on whether or not I have a VPN connection. My problem occurs when:
    1. The work account is disabled
    2. Mail is restarted
    3. The work account is enabled again
    At this point all of my rules associated with the work account are disabled. I can't imagine that this is the intended behavior.
    I can re-enable all of the rules with Applescript, but it seems like I shouldn't have to.
    The problem can be reproduced without using Applescript by disabling/enabling the account in Mail preferences.

    A little more info on the subject of rules, monitors, and alerting:
    Alerts based off of Rules will not close themselves, they will always need to be closed manually. If they were alerts based off of Monitors they would (in most cases) close themselves after disabling them. If you don't want to script closing the alerts based
    off the rules you can always filter or sort your alerts in the console and select all or selectively select the ones you want to close all at once and then right click and close the alerts based off rules. One other thing, for alerts based off monitors
    it is usually best to reset the health of an object and let the monitor close itself rather than close an alert based of a monitor if you have a need to close it. That is unless something funky happened where the health of the object changed to healthy
    and for some reason the alert didn't close in which case you can close it. The reason you dont want to just close an alert based off a monitor is because it wont reset the health of the object being monitored and will therefore not re-alert if the issue returns.

  • Disable/enable the serial port

    Hello All,
    I am using Labview to communicate with a Microchip PIC virtual serial port. Ocassionally the serial comms is lost. To recover the connection I open Device Manager then right click the faulty comm port then select disable ( a red cross appears on the icon). Next right click the port again and select enable. The port now communicates correctly again.
    Is there a way to use System Exec to drive this behavior automatically once a fault occurs or some other method to drive DM using methods and properties?
    Many Thanks
    Chris
    Solved!
    Go to Solution.

    Thanks for that, I am surprised at how simple it is to use DevCon however I still dont understand why cant I detect when the serial port fails.
    Excellent workaround though

  • How to disable 'Enable JavaScript' and 'Display PDF in browser' in Adobe Reader 9.1 msi?

    I'd like to how to disable 'Enable JavaScript' and 'Display PDF in browser' in Adobe Reader 9.1 msi.
    Any help would be appreciated.

    NeoChang:
    You can modify the installation package using the Adobe Customization Wizard to toggle the "Display PDF in Browser" but I have not found a setting to disable JavaScript from the Wizard. I have created a script which makes the changes, but it has to be run for every user since that info is stored in the User hive of the Windows registry.
    Disable JavaScript:
    REG ADD "HKCU\SOFTWARE\Adobe\Acrobat Reader\9.0\JSPrefs" /v bEnableJS /d 0 /t REG_DWORD /f
    Disable Browser Integration:
    REG ADD "HKCU\Software\Adobe\Acrobat Reader\9.0\Originals" /v bBrowserIntegration /d 0 /t REG_DWORD /f
    Michael
    ~Simplicity of Character is a Natural Result of Profound Thought~

  • My iphone icon shows in itunes but is missing from my computer desktop. It is detected as a iphone camera device. I have tried everything from unistalling-reinstalling, disabling-enabling, and updating. Still no iphone icon showing in my computer desktop.

    My iphone icon shows in itunes but is missing from my computer desktop. It is detected as a iphone camera device. I have tried everything from uninstalling-reinstalling, disabling-enabling, and updating. Still no iphone icon showing in my computer desktop. I have been troubleshooting this for 7 days with no luck! Please help?

    yes, I dony know what else to do?
    thanks

  • How to go back to previous step in a sub workflow?

    We are calling a sub workflow upon approval action from a main workflow. In the child workflow we have 9 steps. If at any step in the child workflow (other than first) user does reject action, the workflow control should go back to previous step in the child workflow itself.
    We added a custom action in the exit events of all the child workflow steps. Following is the logic of exit event of Step4 of child workflow. Similar logic is there for all steps in the child workflow.
    <$if wfAction and wfAction like "REJECT"$>     
         <$wfSet("wfJumpTargetStep", "Step3@childWF")$>
         <$wfSet("wfJumpEntryNotifyOff", "0")$>
    <$endif$>
    With this code when the user is doing reject action from child workflow, it is taking us back to the main workflow and not to the previous step of child workflow.
    Is this approach correct?
    -Pratap

    1. The 3 events are Entry, Update, and Exit.
    2. Rejects happen in the Update area but you can not reliably react to it there because upon reject it immediately leaves (not going through the exit event).
    3. The rejected content goes backwards in the Workflow step by step (even going back to the main workflow from a sub workflow) until it finds a Step that has valid Editors (not just reviewers).
    4. If it does not find an Editor step it goes all the way back to the automatic Contribution step at the beginning of the Workflow and sits there in a kind of no mans land until the contributor (or an admin) goes and approves it again.
    5. To check if something has been rejected the Entry Event of an editor Step BEFORE the step where it is rejected needs to have code to check for the Reject status.
    The sub workflow should be able to capture the Reject as you desire. Are all of the steps in the child workflow (sub workflow) Review only steps? Or maybe the people in the steps do not have RW access to the document? This is what I would predict with your described symptoms.

  • External Speakers Randomly Stop Working until I "Test" or Disable/Enable

    I'm using a HP Pavillion DV6 Notebook PC Running Windows 7 Professional 64-bit SP1.
    External speakers randomly stop working until I "test" or disable/enable them. Headphone/HDMI Audio Works.
    Background
    -Recently had to do a clean install of windows.
    -Went to the HP Drivers Website and downloaded all of the latest drivers.
    -I installed several other programs as well (Flash, Steam, Media Player, Browser)
    -The problem started
    Current Settings
    -My deafult device is "Speakers and Headphones: IDT High Definition Audio CODEC"
    -Enhancements are disabled
    -Bass and Treble are set to 4
    -Format is set to 16 bit, 48000 Hz (DVD Quality)
    -Allowing applications to take exclusive control of the device or not doesn't make a difference (but it's currently off)
    Troubleshooting
    -The audio works by plugging in headphones or using an HDMI device
    -The audio comes back if I go to my sound settings and hit "Test", or if I disable and re-enable the device
    Error Messages
    -Youtube starts the video for 3 seconds, restarts and sputters a bit, and then says that there was an error
    -My media player (MusicBee) gives me this message: "Unable to start playback (Error = BASS_ERROR_BUFLOST)"
    That's everything I can think of. Any ideas?

    Hi TheBigBoy,
    Welcome to the HP Support Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I see that you are having a frustrating time with the sound to your external speakers. Have you tried connecting the speakers to another computer to see if is a hardware issue with the speakers? Do the regular speakers work? What is your product number as there are several models in the dv6 series?
    Thank you,
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • Workflows | Defining sub-workflows and capturing wfActions

    Hi All,
    I am trying to define a sub-workflow post which I want to make a jump based on the action taken in the one step sub-workflow. I tried to use the wfActions to find the action taken at a step, but the applet shows the following error:
    Offset in runtime evaluation is at character 17. Could not find the parameter 'wfAction'.
    I even tried to do a <$wfSet("myvar",wfAction)$> which gave the same error.
    I tried to capture this action in the Update section of the script as well as in the Exit section. Has someone used this parameter, has it worked on UCM 10gR3.
    Thanks in advance
    - AU

    Kara,
    Thanks for that
    Paul
    "Kara Moscoe" <[email protected]> wrote:
    Your sub-workflow template definition must be defined for the current
    organization, must have a Start node defined as "Called", and it must
    be
    marked "Active" for it to display in the Start Workflow dialog.
    Kara
    "Paul Clements" <[email protected]> wrote in message
    news:3b8e5800$[email protected]..
    Hi,
    I am trying to get wlpi to allow me once a workflow is completed tostart
    another
    different workflow. Hence I have tried on the done icon to add anaction
    of type
    start workflow but when the start workflow window pops up there areno
    workflows
    that I can start even though some exist. Can someone shed any lighton
    what I
    am doing wrong?
    Many thanks
    Paul Clements

  • How to make disable/enable single item recovery effectively Immediately?

    for the following command , "it may take up to one hour to disable single item recovery",my question is how to make the disable/enable  single item recovery
    effectively Immediately by some command?
    SingleItemRecoveryEnabled $false/true
    http://technet.microsoft.com/en-us/library/ff678798(v=exchg.141).aspx
    Please click the Mark as Answer button if a post solves your problem!

    other options:
    Move the mailbox to another DB or if in a DAG, activate the DB on another server. ( the activating seems to work as far as I have seen at least).
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • Warnings on sub-workflow that appears to have completed

    Hi
    I am getting some warnings that are resulting in my Workflow falling into error, but don't know where they are coming from.  
    The Workflow log shows that the Workflow has completed the last step, so not sure what it is doing.
    The warnings are coming from executing actions u2018Result Processingu2019 and u2018CHECK_WORKFLOW_INSTANCEu2019
    The warning messages are:
    Message no. SWP027 = Flow item ??? (Workflow 000000XXXX) for work item  has the status "Error"
    Message no. SWP030 = Temporary error in result processing of work item 000000XXXX
    and after the 5 attempts by SWWERRE to continue the Workflow falls into ERROR
    It doesn't occur for ever instance of the Workflow.   It is a sub-workflow if that makes any difference.
    The entries are being logged in SWP_SUSPEN table
    SM12 showed no locks.
    When I manually restart after error, they complete.
    Any ideas where I can look?
    Thanks
    Pete

    Hello,
    A temporary error is causing this, usually it's a user locking something. The WAIT could indicate that someone was trying to avoid this. I would have a careful look at the workflow log, sometimes the error givs more clues, eg which user was doing the locking.
    As suggested above, check the method called for any exceptions marked as Temporary.
    The default is 3 retries, one every 20 mins. What was it in your case?
    regards
    Rick Bakker
    hanabi technology

  • How to disable/enable image property in Web Dynpro?

    Hi,
    I was trying to find a help about "How to disable/enable property of an image in Web Dynpro?" but never find it. Let me explain what I'm trying to do:
    I need to show three different status (Released, Rejected and Approved) each one is an image ... <b>How do I do to disable images property before a process and enable them after it?</b>
    Thanks in Advance, and waiting an answer As Soon As Possible !!!
    Tokio

    Your question is not completely clear to me. An image cannot trigger an event, so disabling it has no effect.
    To display different images in a Image element depending on some condition, you can use a calculated context attribute <i>imageSource </i>of type "string" that returns the URL of the image, something like
    public String getImageSource(IWDNodeElement element)
      if (...)
        return "image_for_status1";
      else if (...)
        return "image_for_status2";
      else if (...)
        return "image_for_status3";
      return ""; /* no image will appear */
    Bind property Image.<i>source </i>to attribute <i>imageSource</i>.
    If you put the three image files inside folder src/mimes/components/<componentName>, your method can simply return the file name without calculating an URL.
    Armin

  • Jdev11 Tab selection and Enable User Customization on Session bug.

    When you have enabled User Customization for duration of session then what ever user changes on a page it remains the same through out the session,
    ie. Disclosed panel boxes, advanced query criteria, visible columns of tables in panel collections etc.
    The problem is that you cant customize which properties to be kept or not :
    ++Fusion Developer's Guide for Oracle ADF & 34.3 Configuring User Customizations:++
    ++Note+: If you've enabled just session persistence, then all attribute values shown in Table 34-1 will be persisted to the session.+
    There is no way to override this either globally or on an instance.
    The bigger problem is that if you have some business logic about these components appearance or behavior you can’t override user settings.
    Is this a bug?
    Shouldn’t business logic methods override user customization settings?
    Will User Customization for duration of session become configurable?
    details :[http://adfbugs.blogspot.com/2009/09/tab-selection-and-enable-user.html]

    Hi,
    Is this a bug?
    Don't think so. I assume your business logic is dependent on the disclosure state, which usually is reset after each navigation off and on to a page. Using change persistence you explicitly allow the user to keep the changes. So your business logic cannot rely on a changed state.
    The proposed enhancement request to prevent components from perisisting changes sound fair. I'll file one.
    But it isn't that you can't override the persisted information for a component. You can use teh ChangeManager API that is exposed on the ADFFacesContext to override persistence information
    http://download.oracle.com/docs/cd/E15051_01/apirefs.1111/e10684/oracle/adf/view/rich/change/ChangeManager.html
    For example, using a change disclosure event:
      boolean isDisclosed = < whatever you like to set >;
      //Record a Change for 'disclosed' attribute
      AttributeComponentChange aa =
      new AttributeComponentChange('disclosed', isDisclosed ? Boolean.TRUE : Boolean.FALSE);
      AdfFacesContext adfContext = AdfFacesContext.getCurrentInstance();
      //set disclosed state to component. Here you override the user choice
      adfContext.getChangeManager().addComponentChange(getFacesContext(), event.getSource(), aa);Frank
    Edited by: Frank Nimphius on Sep 30, 2009 3:20 PM

  • Starting many instances of a sub workflow

    Hi,
    I'm trying to create a scenario using WLPI studio wherein from a parent workflow
    task I want to start a number of instances of a sub workflow. I want that completion
    of all the sub workflow instances should lead to completion of the parent workflow
    task. How do I do this in WLPI? One way is completion of each of the sub-workflow
    generates an event which parent workflow is listening and updates some of its
    workflow. However, I was expecting that parent and sub workflow works synchronously,
    but I don't know how to configure it... Some of the newgroups mails do talk about
    this feature but as mentioned in the following reply for one such query, but in
    actual it is not behaving like that :
    "Harshad The only time workflows will actually run on parallel threads is when
    you trigger the workflows via xml events. Calling a workflow will always keep
    it on the same thread until a quiescent state is hot in the child workflow. At
    that point control is given back to the parent"

    Yes, that is possible. Let's say you have a package with AID 1122334455 which contains an applet with AID 112233445500 on your card. Now you can create two instances, for example with instance AID 11223344550001 and 11223344550002:
    => 80 E6 0C 00 1B 05 11 22 33 44 55 06 11 22 33 44    ......."3DU.."3D
        55 00 07 11 22 33 44 55 00 01 01 00 02 C9 00 00    U..."3DU........
        00                                                 .
    (30 msec)
    <= 00 90 00                                           ...
    => 80 E6 0C 00 1B 05 11 22 33 44 55 06 11 22 33 44    ......."3DU.."3D
        55 00 07 11 22 33 44 55 00 02 01 00 02 C9 00 00    U..."3DU........
        00                                                 .
    (10 msec)
    <= 00 90 00                                           ...

Maybe you are looking for