Related Articles
Few linux commands which are helpful
To download a file wgett urloffile To see log file contents , run time file tail -f filename To return back from file ctrl+c To edit a file vi filename return back :q! or :wq! to insert in file use insert key
Jquery Datepicker UI options and set default date on Load
Below Jquery UI is to select between two dates from and to.To show Default date in Jquery Datepicker UI use defaultDate: “+1d” see below in codeTo set number of months use numberOfMonths: 1To set Default date on Jquery load using Datepicker see in below code*** See code and live example below. From to
Bonitasoft Groovy Scripts to Get Users Data
Using below Groovy Script code you will get the complete information of a particular user in Bonitasoftt To get Manager Email address in Bonitasoft: ${import org.ow2.bonita.facade.IdentityAPI;import org.ow2.bonita.facade.identity.User;IdentityAPI api = apiAccessor.getIdentityAPI();User user = api.findUserByUserName(processInstance.getStartedBy());User manager1 = api.getUserByUUID(user.getManagerUUID());return manager1.email;} To get Professional Email of a user : ${import org.ow2.bonita.facade.IdentityAPI;import org.ow2.bonita.facade.identity.User;IdentityAPI api = apiAccessor.getIdentityAPI();User user = api.findUserByUserName(processInstance.getStartedBy());User manager1 […]
