AnsweredAssumed Answered

FileMaker Data Migration Tool exit code

Question asked by Peter Wagemans on May 22, 2018
Latest reply on May 22, 2018 by KeithProctor

Product and version: Server 17

OS and version: MacOS 10.13.4

Hardware: MacBook

How to replicate: use the tool in batch migrations

Workaround (if any): none

 

Description: exit code for FileMaker Data Migration Tool

I am writing a batch file that will simplify subsequent deployments. There are many files and the bash file loops through the FileMaker files in the folders to migrate them. The return code ($?) from the FM Data Migration code is always 0, even if an error occurs. I want the batch file to stop the migration when an error occurs.

Outcomes