}
function myEndDocFunction(fileName)
{
try
{
//Actions to take after input from a single form is completed
//and the resulting PDF is rendered
…
}
catch(e)
{
//Logging and other exception handling
…
throw e;
}
}
function myEndDataSetFunction(fileName)
{
try
{
//Actions to take after input from a single form is completed
//and the resulting dataset is generated
…
}
catch(e)
{
//Logging and other exception handling
…
throw e;
}
}
function myEndDataFunction()
{
try
{
//Actions to take after all input data is read
…
}
catch(e)
{
//Logging and other exception handling
…
throw e;
}
}
function myEndJobFunction(files)
{
try
{
//Actions to take after all PDFs included
//in the job have been rendered
…
}
catch(e)
{
//Logging and other exception handling
…
Developing workflow solutions 31