Download AGILOFT REFERENCE MANUAL

Transcript
Agiloft Reference Manual
performs search by SQL on Case object of the knowledgebase and submits the returned object right
back in to create a clone.
POSTPush Sample Script
The purpose of the "POSTPush" is to submit the result of modification of a record in Agiloft to an
external host via HTTP POST. This script is run in a script action from the rule invoked on update. The
script re-uses parts of WS/REST internal code to convert internal datatypes into POST parameters.
NetcoolTicketUpdateScript Sample Script
The purpose of the "NetcoolTicketUpdateScript" is to invoke a policy in IBM Tivoli Netcool when a ticket
is closed in EnterpiseWizard. A policy can be invoked by calling a "Listener" Web Service provided with
each instance of Netcool. This script is run in a script action from the rule invoked on update and also
periodically every 5 minutes. The purpose of the periodic run is to pick up those tickets for which for
some reason the information was not transmitted successfully i.e. retry if some failure has occured. The
script uses an integer field "submitted_to_netcool" to indicate that the invocation was successful. To
avoid cluttering history by recording the success on the very first run the the suggested pattern is to
have the field set to 1 (success) by default and set value to 0 only when it fails. The script will only
update the field if a change is required. To attempt a resend such records can be isolated later by a rule
run periodically with an IF/THEN condition based on Advanced Filter - the field changed value from 1 to
0 in the last X minutes.
584