JobMetadata: {
    aid: string;
    app: string;
    atp: string;
    dad: string;
    err?: string;
    expire?: number;
    gid: string;
    guid?: string;
    jc: string;
    jid: string;
    js: JobStatus;
    ju: string;
    key?: string;
    ngn?: string;
    pa?: string;
    pd?: string;
    persistent?: boolean;
    pg?: string;
    pj?: string;
    px?: boolean;
    spn: string;
    stp: string;
    tpc: string;
    trc: string;
    ts: string;
    vrs: string;
}

Type declaration

  • aid: string

    activity_id as in the YAML file

  • app: string

    app_id

  • atp: string

    activity_type

  • dad: string

    dimensional address for the activity (,0,0,1)

  • Optionalerr?: string

    stringified job error json: {message: string, code: number, error?}

  • Optionalexpire?: number

    process data expire policy

  • gid: string

    system assigned guid; ensured created/deleted/created jobs are unique

  • Optionalguid?: string

    system assigned guid that corresponds to the transition message guid that spawned reentry

  • jc: string

    GMT created //job_created

  • jid: string

    job_id (jid+dad+aid) is composite key for activity

  • js: JobStatus

    job status semaphore

  • ju: string

    GMT updated //job_updated

  • Optionalkey?: string

    job_key

  • Optionalngn?: string

    engine guid (one time subscriptions)

  • Optionalpa?: string

    parent_activity_id

  • Optionalpd?: string

    parent_dimensional_address

  • Optionalpersistent?: boolean

    job persistence (beyond main thread completion)

  • Optionalpg?: string

    parent_generational_id (system assigned at trigger inception); pg is the parent job's gid (just in case user created/deleted/created a job with same jid)

  • Optionalpj?: string

    parent_job_id (pj+pd+pa) is composite key for parent activity

  • Optionalpx?: boolean

    sever the dependency chain if true (startChild/vs/execChild)

  • spn: string

    open telemetry span context

  • stp: string

    activity_subtype

  • tpc: string

    subscription topic

  • trc: string

    open telemetry trace context

  • ts: string

    201203120005 (slice of time) //time series

  • vrs: string

    app version