When we are looking to do an Approval from ServiceNow to an ActiveControl BT, we use a Business Rule in ServiceNow called “AC Approve AC Task on Change on Update”.
You will need to decide on what filter conditions are appropriate for this Business Rule.
Here is an example:
There will also be some code required in the Advanced section:
Here is a text of the code above:
function onAfter(current, previous) {
gs.info(“(TE) Approve TE Task on Change on Update”);
var runAnalyser = ‘N’; // ‘N’ – no analysis’ ‘F’ – Runs analysis
new TransportExpresso().approveTransportExpressBusinessTask(current, ‘READFORPROD’, runAnlyser);
}
An entry will also need to be made in the SAP table /bti/te_int_loc:
Post your comment on this topic.