Handle document

To evaluate documents you can insert you custom job setup after the EntityLoader, e.g.:

To do so you create a ClientJobSteps with method HandleEntitiyObject as shown in the following code:

public class HandleDocument : ClientJobStepBase
{
  [PluginWorkflowMethod(typeof(EntityObjectHandler))]
  public void HandleEntitiyObject(object sender, EntityObjectArgs args)
  {
    IDocument doc= args.Document;
    object inst = args.Instance; // the loaded structure
  }
 
  public override JobStepResult Run()
  {
    throw new NotImplementedException("unused");
  } 
}