What are stage tools needed for?


What are stage tools needed for?


A document can get to Verification, Exception, Document Assembly Check, and other interactive stages. Opening documents in different stages invokes opening a copy of the Verification Station. The look and behavior of the Verification Station can be amended for each different type of task. 

The customization allows a user to amend the skin by adding a default or custom buttons. A custom button can invoke a custom script. It is also possible to add some event handlers to trace the work of an operator or to modify the documents and batches.

For instance, it is required to add a record in an external database each time the Verification Operator rejects the task. To achieve this:

  • Open the project in Project Setup Station.
  • Go to Project > Project Properties... > Stage Tools.
  • Select the Verification > Edit.
  • Go to Add Event... > On Task Reject > Edit script...
  • This script will be executed each time an operator rejects the task:
    using System;
    using System.Data.SqlClient;
    string connectionString = "YourConnectionString";
    using (SqlConnection connection = new SqlConnection(connectionString))
    string insertQuery = "INSERT INTO YourTable (Column1, Column2) VALUES (@Value1, @Value2";
    using (SqlCommand command = new SqlCommand(insertQuery, connection))
    command.Parameters.AddWithValue("@Value1", "Value1");
    command.Parameters.AddWithValue("@Value2", "Value2");
    int rowsAffected = command.ExecuteNonQuery();

Additional information

Stage tools 

Have more questions? Submit a request



Please sign in to leave a comment.