Workflow

From SageDev KB
Revision as of 08:04, 31 May 2019 by Mwadmin (talk | contribs) (Created page with " Raggiungibile da menu '''''Parametrizzazione → Workflow → Regole Workflow ''''' (da F7 '''GESAWA''') Per richiamare un workflow da codice: Call WORKFLOW(TYPEV...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Raggiungibile da menu Parametrizzazione → Workflow → Regole Workflow (da F7 GESAWA)


Per richiamare un workflow da codice:

Call WORKFLOW(TYPEVT,CODEVT,OPERAT,CLEOBJ) from AWRK
  1. TYPEVT = event type
  2. CODEVT = workflow rule code
  3. OPERAT = workflow rule operation
  4. CLEOBJ = object code(for object events)


Workflow tipo Entrata in funzione

  1. Create dummy function (in GESAFC): Example YMYFUNCTION
  2. Create workflow with type "Function Entry"
  3. Put this piece of magic in the entry point:
Call WORKFLOW ("F_<function code>","","") From SUBAMSC

Example: Call WORKFLOW ("F_YMYFUNCTION","","") From SUBAMSC