Get Advertisement Status

Applies To: Opalis 6.3

The Get Advertisement Status object is used to retrieve the status of an advertisement assigned to a computer to determine if a software deployment action has completed.

For the procedure to configure this object, see: Configuring the Get Advertisement Status Object

Properties and Published Data

The following tables list the properties and published data for this object.

When a computer name and advertisement ID are specified that do not result in any data returned (the advertisement is not assigned to or known by the computer), the published data will only contain the Computer Name and Connection properties.

Get Advertisement Status Properties

Element Description Valid Values Look up

Advertisement ID

The site-specific identifier for the advertisement

String

No

Computer Name

The name of the computer for which you want to retrieve the status of the assigned advertisement

String

No

Get Advertisement Published Data

Element Description Value Type

Advertisement ID

The site-specific identifier for the advertisement

String

Computer Name

The name of the computer for which the advertisement status applies

String

Connection

Specifies the connection to the Configuration Manager server

String

Last Acceptance Message ID

The identifier of the last acceptance status message

Integer

Last Acceptance Message ID Name

The short description of the last acceptance status message

String

Last Acceptance Message ID Severity

The severity of the last acceptance status message

Integer

1073741824 = Informational

2147483648 = Warning

3221225472 = Error

Last Acceptance State

The numeric category of the last acceptance status message

Integer

Last Acceptance State Name

The short description of the acceptance category

String

Last Acceptance Status Time

The date and time when the last acceptance message was generated

String (mm/dd/yyyy hh:mm:ss AM or PM, UCT)

Last Execution Context

The user account under which the program ran

String

Last Execution Result

The last string returned by a status file message or an error return code

String

Last State

The numeric category of the last delivery status message

Integer

Last State Name

Short description of the delivery category

String

Last Status Message ID

The identifier of the last delivery status message

Integer

Last Status Message ID Name

Short description of the last delivery status message

String

Last Status Message ID Severity

The severity of the last delivery status message

Integer

Last Status Time

The date and time when the last delivery message was generated

String (mm/dd/yyyy hh:mm:ss AM or PM, UCT)

Resource ID

The site-specific identifier of the target computer

Integer

Configuring the Get Advertisement Status Object

To configure the Get Advertisement Status object

  1. From the Objects pane, drag a Get Advertisement Status object to the active policy.

  2. Double-click the Get Advertisement Status object icon. The Properties dialog box opens.

  3. Configuring the Details tab:

    1. In the Connection section, click the ellipsis button (...), and then select the Configuration Manager server connection that you want to use for this object. Click OK.

    2. In the Fields section, enter a value for each of the required properties. If the property is Lookup-enabled, you can click the ellipsis (…) button next to the text box to browse for a value.

      You can also use published data to automatically populate the value of the property from the data output by a previous object in the workflow.

      To use published data

      1. Right-click the property value box, click Subscribe, and then click Published Data.

      2. Click the Object drop-down box and select the object from which you want to obtain the data.

      3. To view additional data elements common across the policy, select Show Common Published Data.

      4. Click the published data element you want to use, and then click OK.

        For a list of the data elements published by each object, see the Published Data tables in the object topic. For information about the Common Published Data items, see the "Policy Workflow Rules" chapter of the Opalis Integration Server Client User Guide (https://go.microsoft.com/fwlink/?LinkId=205284).

  4. For information about the settings on the General and Run Behavior tabs, see Common Configuration Instructions for all Objects.

  5. Click Finish.

Other Objects

The Integration Pack for System Center Configuration Manager contains the following additional objects.