Monday, September 19, 2011

. I'd like to turn off the workflow diagram generation from the form when a user changes their password. How do I do this?

If you add form.setSuppressReports(true); inside the appropriate .jsp file(s) it does not post the workflow editor.

For the User
try block in lighthouse/user/changePasswordResults.jsp

If you wish to do this for the administrator pages as well, edit the lighthouse/task/results.jsp file and place the same thing inside of the first try block there. The most common places this occurs are:

createResults.jsp should be changed when you are trying to surpress the diagram from a Lighthouse Admin Create User action.

taskResults.jsp should be changed when using a custom workflow that is launched from a link or the runTask page

account/resourceReprovisionResults.jsp should be changed if admins are updating users and want to hide this diagram

Essentially, whatever result page is displaying the diagram to be suppressed should be updated. The following pages can be changed to effect the diagram in other sequences:

./account/createResults.jsp
./account/modifyCapabilitiesResults.jsp
./account/reconTaskResults.jsp
./account/renameUserResults.jsp
./account/resourceDeprovisionResults.jsp
./account/resourceDisableResults.jsp
./account/resourceEnableResults.jsp
./account/resourceReprovisionResults.jsp
./admin/changeUserPasswordResults.jsp
./admin/resetUserPasswordResults.jsp
./approval/taskResults.jsp
./loginResetResults.jsp
./resources/objectcreateResults.jsp
./resources/objectupdateResults.jsp
./task/taskResults.jsp
./task/userTaskResults.jsp
./user/changeAllResults.jsp
./user/changePasswordResults.jsp
./user/loginResetResults.jsp

Some of these will require a different object than the form object. For example the task/taskResults.jsp requires this:
    rp.setSuppressReports(true);

Where rp is the TaskResults object.

No comments:

Post a Comment