Reuse of an interface in process model with condition

Hi,

I have an interface which has to be used in different forms and a process model. It has two buttons 'Yes' and 'No'.

But, in the process model, i need to pass the interface only with 'No' button. How can I achieve that.

Kindly suggest.

Thanks.

  Discussion posts and replies are publicly visible

  • Hi Shobhit

    Firstly, it seems a bit strange that you can only present a User with a single button labelled 'No' (unless there are other buttons on the interface that you haven't mentioned?) If they can only respond 'No' then what value is the User playing in the process?

    Secondly, to address your specific question: you an conditionally show/hide ANY interface component with the 'showWhen' boolean property. So you could add an additional rule input to your User Interface and set this to 'true' for your current implementation, and map it to the 'Yes' button. For the specific case where you need the 'Yes' button hidden simply pass in 'false'.

    I hope that helps