ArcFM Desktop Configuration Guide
Process Framework Subtasks

Resource Center Home

Below is a list of the subtasks available for use with Process Framework extensions (e.g., Session Manager, Workflow Manager), the criteria necessary for them to be enabled, and the steps that are performed when they are executed. Many of these subtasks are named after the task with which they are associated. You may create custom subtasks (see ArcFM Solution Resource Center). Use the Process Framework Admin Tool to group subtasks and create custom tasks.

Archive Packets compresses the mobile packet using the selected encoder. If Archive fails on any nodes in the list, the subtask will continue with subsequent nodes. Other subtasks within the task will continue to fire as normal.

Enabled

Execute

  1. Compresses the packets associated with the current node and its children using the transporter's "encoder". If a node is locked, it will not be archived. A message will be sent to the event log and the subtask will continue to the next node.
  2. A message indicates to the user any locked nodes that weren't archived.

Confirm Delete verifies that the user wishes to proceed with deleting the chosen node.

Enabled

Execute

  1. Displays a message box that asks the user if she wishes to continue. If the user selects No, this subtask returns false. If the user selects Yes, the subtask returns true.

Convert to XML Packet takes an existing workspace packet (older functionality) and converts it to an XML packet (new and more efficient functionality).

Enabled

Execute

  1. Checks to see that packet conversion applies. The node must be a session or design, it must be unlocked, and the user must have an MMSessionManager or MMWorkflowManager extension.
  2. Looks at the MM_MOBILE_STATE table to see if the session or design node has a corresponding row.
  3. Determines whether the node has a  workspace packet. If it doesn't, the subtask exits.
  4. Gets the path to the workspace packet.
  5. Converts the workspace packet to an XML packet.

Create Packet creates a new mobile packet.

Enabled

Execute

  1. Gets packet IDs and a file path.
  2. Creates a unique GUID for the packet.
  3. Creates a mobile packet for the selected node, saves its contents and closes it.

Parameters

Dearchive Packets decompresses the mobile packet using the selected encoder. If the dearchive subtask fails, all other subtasks will not run and prior subtasks will be rolled back.

Enabled

Execute

  1. Decompresses the packets associated with the current node and its children using the transporter's "encoder". If a node is locked, it will not be decompressed and dearchived. A message will be sent to the event log and the subtask will continue to the next node.

Delete Packet deletes the mobile packet.

Enabled

Execute

  1. Deletes the mobile packet.

Display Conflicts Report opens a report that displays all conflicting edits in the currently open session or design.

Enabled

Execute

  1. Reads the XML packet.
  2. Converts XML packet contents for display in HTML window.
  3. Uses a style sheet to convert the XML packet edit log to HTML for display in a web browser.

    The style sheet location is determined by the following registry key: HKEY_LOCAL_MACHINE\Software\Miner and Miner\Process Framework\Style Sheets\ConflictsXSLPath\

Display Edit Log Report opens a report that displays all edits made to the currently open session or design.

Enabled

Execute

  1. Reads the XML packet.
  2. Converts XML packet contents for display in HTML window.
  3. Uses a style sheet to convert the XML packet edit log to HTML for display in a web browser.

    The style sheet location is determined by the following registry key: HKEY_LOCAL_MACHINE\Software\Miner and Miner\Process Framework\Style Sheets\EditHistoryXSLPath\

Display Tasks Enabled Status displays only enabled tasks in the Process Framework user interface. This subtask is used for debugging.

Enabled

Execute

  1. Displays the tasks that are enabled for the selected node.

File Input/Output performs input/output to and from text files. Stores and retrieves text in a task dictionary.

Enabled

Execute

  1. If an input dictionary key is provided, looks in the task dictionary for XML message.
  2. If input XML path is provided, gets the XML message.
  3. If neither input parameter has a value, prompts the user for an XML file and retrieves the XML message from the path provided by the user.
  4. Opens XML and processes according to verb provided.
  5. If output dictionary key is provided, writes the XML for the selected node to the task dictionary.
  6. If output XML path is provided, writes to a local XML file.
  7. If neither output parameter has a value, prompts the user for a path to where the XML file should be written and writes out the XML.

Parameters

GDBM Set Posting Priority assigns the posting priority set in Geodatabase Manager to the corresponding session or design version.

Enabled

Execute

  1. Writes or updates a row in the GDBM_Post_Queue table for the node's version.

Parameters

Has No WS Packet determines whether a design or session is associated with a workspace packet. This subtask can be used to disable tasks you do not want performed on designs or sessions associated with workspace packets by setting the parameter to true. If the parameter is set to true and a workspace packet is detected, this subtask will be disabled and cause the task to fail.

Enabled

Execute

  1. If the parameter is set to false, the subtask always stays enabled. If the parameter is set to true, the subtask checks if the design or session is associated with a workspace packet.
  2. If the parameter is set to true and the design or session is associated with a workspace packet, the subtask is disabled.
  3. If the subtask is disabled, the task fails and an error message is displayed.

Parameters

Is Enterprise Disk Full? checks for free space based on a threshold value set in the MM_PX_CONFIG table. This threshold is set using the Configuration tab in the Process Framework Administration tool.

Enabled

Execute

  1. Checks for free space on the disk on which the Enterprise base directory resides.
  2. Subtask fails if insufficient disk space exists.

Is Mobile Solution enabled? determines if Mobile is enabled.

Enabled. 

Execute

  1. Always returns True.

Mobile Synchronize exchanges incoming and outgoing packets between the local (enterprise) and remote (field) transporter directories regardless of whether the user is in the field or on the enterprise.

Enabled

Execute

  1. Locks out other transporter operations.
  2. Allows the transporter to synchronize with the enterprise.

Mobile Update uses the current user's user name to update the field database with mobile packets from the Enterprise.

Enabled

Execute

  1. Removes all packets from the transporter repositories.
  2. Places packets in the current user's working directory.
  3. Update the Process Framework, Session Manager, and Workflow Manager tables based on the packet contents.

Restore subtasks

By default, the transporter copies packets to a backup folder before it decodes the file to the working folder. After the transporter decodes the packet to the working folder, Process Framework will attempt to read the packet into the PX tables. If successful, then the backed up, compressed packet will be deleted.

So, if a user executes Send/Receive and one of the packets fails to update the PX tables, the "Restore" subtasks below are a way to restore the backup of the compressed packets back to the incoming folder.

Restore All Backup Packets pulls all packets from the transporter's backup folder and restores them to the working directory.

Enabled

Execute

  1. Pulls all packets from the backup folder and places them in the working directory.

Restore Backup Packet pulls a specific packet from the transporter's backup folder and restores it to the working directory.

Enabled

Execute

  1. Pulls the packet from the backup folder and places it in the working directory.

Set Active Graphics Layer sets the Active Annotation Target according to the user-defined parameter.

Enabled

Execute

  1. Sets the Active Annotation Target using the Graphics Layer Name entered as the subtasks parameter.

Parameters

Switch to Parent Version changes the version to the current version’s parent. Users might choose to use this subtask after closing, deleting, or posting a session.

Enabled

Execute

  1. Ensures there is no editing session started. If one is started, warns the user to end the editing session.
  2. Opens the current version’s parent.

Unlock Node removes the locked status from nodes that have been locked due to a crash of ArcMap. This subtask will NOT be enabled for nodes that have been locked for the following reasons: the user is not the current owner, it is being edited by another user, its sibling has been approved, it is non-postable.

Enabled

Execute

  1. Unlocks the node.

Update Enterprise uses the Database ID to update the enterprise with mobile packets from the user working directories on the enterprise.

Enabled

Execute

  1. Removes packets from the user's transporter directory based on the Database ID.
  2. Uses the Database ID to place the packets in the appropriate enterprise working directory.

 

 


Send Comment to ArcFMdocumentation@schneider-electric.com