cancel
Showing results for 
Search instead for 
Did you mean: 

Possible to Skip Tasks and continue the process

mona
Champ in-the-making
Champ in-the-making
Hi all,

I am fairly new to Acitiviti. I have read through the documentation but cant seem to wrap my head around to if the following is possible:

Process id :
step 1: Runs a shell script and generates a text file
step 2: Kicks off Java Service task with the text file as an argument
step 3: emails confirmation of being complete

Say we want to skip step 1… but run step 2 and 3
Say we want to skip step 2 and run steps 1 and 3

for a particular instance of the process , I want to pass in the steps i want to skip.

How would one go about doing this in Activiti?
I have looked into the conditional gateways through Activiti explorer but I do not want to always change the configuration/model.. I want it configurable/indicated at time of starting a particular instance of the model.


Thanks for the help!!
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
The way to model this is indeed to use an exclusive gateway, where the outgoing sequence flow have a condition on it.
Those conditions use variables, which you pass when the process instance is started (programmatically or via a form)
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.