Post-processing script runs even if the FM script returns a non-zero value.
Tested environment:FileMaker Server Advanced 188.8.131.52 / Mac OS X 10.5.8FileMaker Server 10.0.2.206 / Mac OS X 10.5.4Description:Contrary to the help description below, the post-processing script of a Script Sequence task is executed even when the FileMaker script returns a non-zero value.An excerpt from the help:The FileMaker script must return a value of 0 (zero) in order for the script sequence to proceed to the post-processing script (if one is specified).Steps to reproduce:Create a FM script that has only one step: Exit Script Create a shell script in the FM Server's Scripts folder:#!/bin/sh
exit 0Create a new Script Sequence task in Server Admin Console.Specify the FM script (1) as FileMaker script to execute and the shell script (2) as post-processing script.Run the schedule.Expected:Only the FileMaker script (1) is executed.Actual:Both FM script (1) and post-processing script (2) are executed.Additional information:Event.log shows the post-processing script being executed. I also tested the result with a post-processing script doing a real job to confirm it is actually executed.
Thank you for your post.
I have forwarded your information to our Development and Software Quality Assurance (Testing) departments for review and confirmation. I will let you know when I receive a reply.