Skip to content

Reset job arguments

This operation resets all 20 argument slots (Arg1–Arg20) to empty, ensuring no stale values leak between calls on a reused clsRequestAppworxJob instance.

Field Value
Operation ID OP-APX-002
Trigger Called from the constructor New(inDPI), and from the shared SubmitBatchJob overload before populating arguments.
Inputs None
Outputs Arg1–Arg20 reset to empty (no database interaction)
Primary components clsRequestAppworxJob.InitArgs
Entry point SAIF.Services.Appworx\clsRequestAppworxJob.vb

Steps

  1. Sets each of m_Arg1–m_Arg20 (clsSmartString instances) to empty via SetEmpty(). No SQL or table interaction is performed.
  2. Returns; the instance's argument slots are now guaranteed empty and ready for reuse.

Process flow

flowchart TD
    Start([InitArgs called]) --> S1[SetEmpty on m_Arg1..m_Arg20]
    S1 --> EndOk([All 20 argument slots empty])

Failure and edge-case behavior

  • None identified; this operation has no branching or failure path.

Sources

  • SAIF.Services.Appworx\clsRequestAppworxJob.vb