Business Process Automation

Power Unit Agent Actions

This page is accessed via Business Process Automation > Agents and Milestones > Automation Agent.

If you select POWER UNIT in the Agent Type field and do not select anything in the Data Type Association field, the agent actions listed here are available.

To use agent actions from other agent types (business objects), select the appropriate data type association. By selecting a data type association, an automation agent of one agent type (business object) can run related agent actions of a different agent type (business object). For example, an automation agent with a shipment agent type can run agent actions available for the order release agent type. To do this, select a data type association of SHIPMENT TO ORDER RELEASE. See the actions topic for more details.

Action

Description

Ad Hoc Notify Contact

This is a utility agent action. See Ad Hoc Notify Contact.

Assign Variable

This is a utility agent action. See Assign Variable.

Call Service

This is a utility agent action. See Call Service.

Decrement Bucket - Power Unit

Decrements the bucket count. Only instance buckets are available. If the Auto Link check box on the Bucket Type is selected, the asset is also disassociated from the bucket, in addition to decrementing the bucket count.

Parameters:

Bucket Type (required)

Location ID (required)

Update Inventory at Parent Location

Decrement By

Direct SQL Update

This is a utility agent action. See Direct SQL Update.

Dont Persist

This is a utility agent action. See Dont Persist.

Else

This is a utility agent action. See Else.

Elseif

This is a utility agent action. See Elseif.

Endfor

This is a utility agent action. See Endfor.

Endif

This is a utility agent action. See Endif.

Endlock

This is a utility agent action. See Endlock.

Estimate Distance

This is a utility agent action. See Estimate Distance.

For

This is a utility agent action. See For.

For Each

This is a utility agent action. See For Each.

Generate Refnum

This is a utility agent action. See Generate Refnum.

If

This is a utility agent action. See If.

Increment Bucket - Power Unit

Increments the bucket count. Only instance buckets are available. If the Auto Link check box on the Bucket Type is selected, the asset is also associated to the bucket, in addition to incrementing the bucket count.

Parameters:

Bucket Type (required)

Location ID (required)

Update Inventory at Parent Location

Increment By (required)

Association Date Agent Variable: Accepts any agent variable that returns a local date. For example you could have an "Assign Variable" as the first agent action; it has a saved query that returns last sighting date (or any other date for that matter) on the asset. The next action could be Increment bucker or Link Driver to Bucket and it can use the agent variable defined above in the association date agent variable field. If this field is provided, the value returned will be used as association date. If not, and the agent event on which the agent is listening to happens to be a tracking event, the value of this event_date will be used. Otherwise if the agent is not a tracking event, the current local date is used.

Link Power Unit to Bucket

Links an asset to a bucket. That is, it places a particular power unit into the specified bucket. It does not update any bucket counts. If the bucket does not exist, it creates a new bucket. Only instance buckets are available.

Parameters:

Bucket Type (required)

Location ID (required)

Association Date Agent Variable

Lock

This is a utility agent action. See Lock.

Log

This is a utility agent action. See Log.

Log to Transmission Report

This is a utility agent action. See Log to Transmission Report.

Move Power Unit to Location

See the Move Power Unit to Location action.

Parameters:

From Location ID: Enter a Source Location.

To Location ID: Enter a Destination Location.

From Bucket Type: Enter a Source Bucket Name.

To Bucket Type: Enter a Destination Bucket Name.

Association Date Agent Variable

Notify Contact

This is a utility agent action. See Notify Contact.

Persist

This is a utility agent action. See Persist.

Prepare Document

This is a utility agent action. See Prepare Document.

Prepare Report

This is a utility agent action. See Prepare Report.

Print Document

This is a utility agent action. See Print Document.

Queue Event

This is a utility agent action. See Queue Event.

Raise Error

This is a utility agent action. See Raise Error.

Raise Event

This is a utility agent action. See Raise Event.

Raise Internal Event

This is a utility agent action. See Raise Internal Event.

Roll Back Sighting

See the Roll Back Sighting action.

Schedule Event

This is a utility agent action. See Schedule Event.

Send Integration

This is a utility agent action. See Send Integration.

Set Bucket Count - Power Unit

Overwrites the bucket's current count and set its value as indicated by the Bucket Count parameter.

Parameters:

Bucket Type (required)

Location ID (required)

Bucket Count (required)

Set Indicator

This is a utility agent action. See Set Indicator.

Set Internal Status

This is a utility agent action. See Set Internal Status.

Set Status

This is a utility agent action. See Set Status.

Set User Defined Image

This is a utility agent action. See Set User Defined Image.

Stop

This is a utility agent action. See Stop.

Unlink Power Unit from Bucket

Unlinks an asset from a bucket. That is, it removes a particular power unit from the specified bucket. It does not update any bucket counts. Only instance buckets are available.

Parameters:

Bucket Type (required)

Location ID (required)

Update Sighting

Copies the values of the sighting location and the date to the previous sighting and date fields. Then it updated the sighting location and date with the location and date on the tracking event.

Wait

This is a utility agent action. See Wait.

 

Related Topics