Fixlet lines exit codes

(imported topic written by LeoCiociano)

When I see the action info when a fixlet has completed its execution, the console shows me a “Completed” statement for every line of execution. Is there a way to see the exit code for every line too?

Regards,

Leo

(imported comment written by SystemAdmin)

As i understand it, a Fixlet is determined to be “Completed” if the relevance evaluates to False after the action lines have executed. A Task is determined to be “Completed” when all action lines have executed irregardless of anything being changed on the client.

You could look at the client logs, but I don’t think the status of each line is reported back to the database.

(imported comment written by LeoCiociano)

Tim,

Thanks for the info to look at the client logs for the actions exit codes.

Anyway, as a suggestion, could it be possible to show the individual action exit codes in the detailed “View Action Info” on the TEM console?..

For example, if I run a .cmd file as “wait file.cmd”, the exit code could be different from 0, but the action is showed as “Completed”. So, I think it’s a good idea to capture de exit codes and show it on the TEM console.

Thanks for the help.

Regards,

Leo

(imported comment written by SystemAdmin)

We only keep track of the last exit code so no this isn’t possible at present. The Console will show the last exit code reported.

You could examine the exit code of each “wait” or “run” command in a fashion like:

continue 

if 
{exit code of action = 0
}

if you want to make sure each exit code is the way you want it