Groovy Task: set status or log more?

Support questions related to CloverDXServer

Posts: 1
Joined: Tue Feb 24, 2015 4:17 pm

Groovy Task: set status or log more?

Postby henjo » Tue Feb 24, 2015 4:22 pm

I have a working Groovy script which returns output to the Task History:
"success" or "failure" which can be used in other tasks.

However, I'd like to output some more details, for debugging and logging purposes.

- Is it possible to change the status? Instead of FINISHED_OK or ERROR, can I use and set custom states?
- Is it possible to log a more detailed output somewhere else?

Unfortunately I can't put more debugging output into the result description field.
(Well, I *can* but it's not what we want)

Posts: 372
Joined: Thu Jan 12, 2012 9:10 am

Re: Groovy Task: set status or log more?

Postby kubosj » Wed Feb 25, 2015 3:45 pm

Hi henjo,

Regarding status: It is not possible to create own status as it is internal filed of Server.

Regarding extended status: You may return string from Groovy script and that value is then visible in Task History - but you probably know that. Other possibility is to open file in Groovy and log into it.

If I did not understand your question then please try to explain how and where should be detailed log stored/displayed. As separate column in Task History?

I hope this helps.
Jaroslav Kubos
CloverCARE Support
CloverETL | Rapid Data Integration

Visit us online at