Member Junction
    Preparing search index...

    Update Scheduled Job action. Updates an existing scheduled job with new values for specified fields. Only provided fields will be updated; omitted fields remain unchanged.

    await RunAction({
    ActionName: 'Update Scheduled Job',
    Params: [
    { Name: 'JobID', Value: 'F3C4A5B6-...' },
    { Name: 'IsActive', Value: 'false' },
    { Name: 'Status', Value: 'Disabled' }
    ]
    });

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Build filter expression for job queries

      Parameters

      • filters: {
            createdAfter?: Date;
            createdBefore?: Date;
            isActive?: boolean;
            jobTypeId?: string;
            status?: string;
        }

        Object containing optional filter criteria

      Returns string

      SQL WHERE clause string

    • Updates an existing scheduled job

      Parameters

      • params: RunActionParams

        The action parameters containing:

        • JobID (required): ID of the job to update
        • Name (optional): New job name
        • CronExpression (optional): New cron expression
        • IsActive (optional): New active flag
        • Status (optional): New status (Active, Disabled)
        • IntervalMinutes (optional): New interval in minutes
        • IntervalDays (optional): New interval in days
        • Description (optional): New description

      Returns Promise<ActionResultSimple>

      ActionResultSimple with:

      • Success: true if job was updated successfully
      • ResultCode: SUCCESS, VALIDATION_ERROR, NOT_FOUND, NO_CHANGES, or FAILED
      • Message: Details about what was updated