Skip to main content

TCallbackToolProgress

TCallbackToolProgress AlteryxEngine API method is used to get progress for individual tools from running workflows or wizards. Returns 1 to cancel running the workflow or application or 0 to continue.

If the calling application determines the workflow or application should stop processing based on the contents of the callback, it should return 1. In order to allow processing to continue, it should return 0.

Callback Declaration

long CallbackToolProgress( 
        __int64 userData,
        int nToolId,
        double dPercentProgress
)

Example

long CallbackToolProgress(System. __int64 userData, int nToolId, double dProgress)
{
  // do something with the progress information
  return 0;
}