Hi Manoj, Like Subash mentioned earlier, there is no way to give optional check-list items for a transition. We do not support that.
Thanks, Janaka On Thu, Oct 2, 2014 at 9:12 PM, Manoj Kumara <ma...@wso2.com> wrote: > Hi Subash, > > Thanks for the prompt response, what I'm trying to achieve is enable the > transition button after any checklist item selected. If we remove forEvnent > attribute in each item 'Transition Button' will be enable by default. > > Is it possible to enable 'Transition Button' only after any one of Task > 1, 2, 3 is selected. > > Thanks, > Manoj > > > *Manoj Kumara* > Software Engineer > WSO2 Inc. http://wso2.com/ > *lean.enterprise.middleware* > Mobile: +94713448188 > > On Thu, Oct 2, 2014 at 11:22 AM, Subash Chaturanga <sub...@wso2.com> > wrote: > >> Hi Manoj, >> No you can't. Because the in the check item configuration, the forEvent >> value indicates that the particualr check item is required for it. In your >> case Task1,2,3 all specified each checkitem is required for the transition >> "Promote". Hence unless all 3 checked, it will not appear. To achieve your >> requirement, you can remove forEvent attribute in each item. >> >> On Thu, Oct 2, 2014 at 8:34 PM, Manoj Kumara <ma...@wso2.com> wrote: >> >>> Hi All, >>> >>> In registry lifecycles we can use forEvent="Promote" as, below to enable >>> Promote once all the check boxes are checked. >>> >>> <datamodel> >>> <data name="checkItems"> >>> <item name="Task 1" forEvent="Promote"></item> >>> <item name="Task 2" forEvent="Promote"></item> >>> <item name="Task 3" forEvent="Promote"></item> >>> </data> >>> </datamodel> >>> >>> I have a requirement that need to enable Promote when 'any of check >>> boxes' is selected. Is there a option to do this. >>> >>> [1] https://docs.wso2.com/display/Governance460/Lifecycle+Sample >>> >>> >>> Thanks, >>> Manoj >>> >> >> >> >> -- >> Thanks >> /subash >> >> *Subash Chaturanga* >> Senior Software Engineer >> Platform TG; WSO2 Inc. http://wso2.com >> Contact: >> email: sub...@wso2.com >> blog: http://subashsdm.blogspot.com/ >> twitter: @subash89 >> phone: +9477 2225922 >> Lean . Enterprise . Middleware >> > > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Janaka Ranabahu* Senior Software Engineer; WSO2 Inc.; http://wso2.com *E-mail: jan...@wso2.com <http://wso2.com>**M: **+94 718370861* Lean . Enterprise . Middleware
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev