Skip to main content

I have a requirment to eliminate one workflow action when a certain situation exists in the form.

There is a drop-down named "Action" that is filled by the workflow that instantiate the form fills with items.

I need to eliminate one option sometimes with a rule.

 

Any Idea what I can do in a rule to remove or disable one of the items?

Hi OferGal

 

There is no rule to remove an item from a drop down.

 

There are 2 options I can think of for you to consider.

 

One way is to create your own smartobject with the drop down values you want (e.g. approve/decline/rework). You can then add a filter to exclude items you don't want (e.g. Action<>Decline) in the populate list item method for the drop down (found on the view initialize rule) .

 

Alternatively you can move the logic back the workflow, and have alternative task activities. This would only be viable if there are only a couple of different alternatives. For example you could have 1 activity with Approve/Decline/Rework and another with Approve/Rework. The workflow logic (i.e. line rules) could then direct to the activity that is appropriate for that workflow instance.


Reply