Hi Team,
I have required where expiry date of models/Process map is reached then APG should trigger to monitor and validate the Process.
I wanted to know how can i trigger APG from ARIS report for particular model?
Hi Team,
I have required where expiry date of models/Process map is reached then APG should trigger to monitor and validate the Process.
I wanted to know how can i trigger APG from ARIS report for particular model?
const g_APG_GUID = "0aec7171-bcdf-11ed-0e32-00505684105c" // ID / GUID of the APG Workflow version
//Loading APG Component
var oAPG = Context.getComponent("Process");
//Start one instance for each model
for each(var oModel in a_Models){
oAPG.run(g_APG_GUID, [oModel]);
}
//Start one instance with all models as context
oAPG.run(g_APG_GUID, a_Models);
const g_APG_GUID = "0aec7171-bcdf-11ed-0e32-00505684105c" // ID / GUID of the APG Workflow version
//Loading APG Component
var oAPG = Context.getComponent("Process");
//Start one instance for each model
for each(var oModel in a_Models){
oAPG.run(g_APG_GUID, [oModel]);
}
//Start one instance with all models as context
oAPG.run(g_APG_GUID, a_Models);
Thanks for your help.
I also wanted to know how to get model name or guid detail in APG flow ?
Sorry for the late answer.
The models you started the workflow from report will automatically become the context of the APG instance.
So, information like model names and GUIDs are availabe as output properties of the start event of the APG flow.