Skip to Content
author's profile photo Former Member
Former Member

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.

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Aug 03, 2006 at 07:29 AM

    hi Srini,

    Why don't you just create a custom program for which the user can select which workflows should be triggered and in your program only trigger the events which the user has chosen. so instead of subworkflow change them to event-driven workflows.

    Hope this will sovle your problem.

    Kind regards, Rob Dielemans

    Add comment
    10|10000 characters needed characters exceeded

    • 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