Examine the Server Logs

TIBCO BPM Enterprise components write out logging information as they process work. It can be useful to look at these logs when debugging scripts that are not working.

When using BPM developer server, you must extract the logs from the BPM runtime container (this can be determined using the docker ps command and then, extracting the logs using the docker logs command for that container).

For the production server, the logs are stored according to the set up and policies of your Kubernetes server.

Checking the log file can help locate the cause of problems. For example, the following error appears in the logs if the value for Text attribute is not given in single-quotes in a DQL:

2021-07-28T11:04:57.890Z | WARN | ce_3 | CDM | CaseDataManagerImpl | readCases |  | Bad DQL: [DQL_VALUE_SHOULD_BE_QUOTED: Value for Text attribute should be single-quoted: name="MyName", DQL_VALUE_SHOULD_BE_QUOTED: Value for Text attribute should be single-quoted: product="MyProduct"] (extendedMessage = 'Bad DQL: [DQL_VALUE_SHOULD_BE_QUOTED: Value for Text attribute should be single-quoted: name="MyName", DQL_VALUE_SHOULD_BE_QUOTED: Value for Text attribute should be single-quoted: product="MyProduct"]')
com.tibco.bpm.cdm.api.exception.ArgumentException: Bad DQL: [DQL_VALUE_SHOULD_BE_QUOTED: Value for Text attribute should be single-quoted: name="MyName", DQL_VALUE_SHOULD_BE_QUOTED: Value for Text attribute should be single-quoted: product="MyProduct"]
	at com.tibco.bpm.cdm.api.exception.ArgumentException.newBadDQL(ArgumentException.java:113)
	at com.tibco.bpm.cdm.core.CaseManager.readCases(CaseManager.java:605)
	at com.tibco.bpm.cdm.core.CaseDataManagerImpl.readCases(CaseDataManagerImpl.java:208)