Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
There is no way that we can tell from which Joget app the EmailTool is triggered. However, in a Process Tool's execute method, we can obtain the appDef object which contains the Joget app information. Check out the sample code below.
Code Block | ||||
---|---|---|---|---|
| ||||
public Object execute(Map properties) { . . AppDefinition appDef = (AppDefinition) properties.get("appDef"); . . . String appInfoAndMessage = appDef.toString() + "- Something happened"; LogUtil.error(EmailTool.class.getName(), ex, appInfoAndMessage); . } |
...