User Tools

Site Tools


flow_designer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

flow_designer [01/22/2025 08:18] – created johnsonjohnflow_designer [12/31/2025 05:40] (current) – removed johnsonjohn
Line 1: Line 1:
-======Flow Designer====== 
----- 
  
-=====Application Asscess Tasks Status===== 
-<code> 
-(function execute(inputs, outputs) { 
-    // ... code ... 
-     
-    var ritmSysID = inputs.ritmSysID 
-     
-    var grTask = new GlideRecord('sc_task'); 
-      grTask.addQuery('request_item', ritmSysID); 
-      grTask.addQuery('active', true); 
-      grTask.query(); 
-        if(grTask.hasNext()) { 
-          outputs.taskscompleted = 'false'; 
-        } 
-        else { 
-          outputs.taskscompleted = 'true'; 
-        } 
-     
-    })(inputs, outputs); 
-</code> 
----- 
- 
-=====Application Access Verb===== 
-<code> 
-(function execute(inputs, outputs) { 
-   
-    var provisionorremove = inputs.provisionOrRemove 
-     
-    if (provisionorremove == 'add') { 
-        outputs.taskVerb = 'Provision '; 
-    } else if (provisionorremove == 'remove') { 
-        outputs.taskVerb = 'Remove '; 
-    } 
-       
-    })(inputs, outputs); 
-</code> 
----- 
flow_designer.1737562705.txt.gz · Last modified: by johnsonjohn

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki