Version: 10.2.1c and 10.2.1c SP3 |
ArcFM Desktop > Set Up Process Framework Tools > Process Framework Subtasks |
Below is a list of the subtasks you can use with Process Framework extensions (e.g., Session Manager, Workflow Manager), the criteria necessary for you to be able to enable them, and the steps the application performs when it executes them. Many of these subtasks are named after their associated task. You may also create custom subtasks. 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
The node passed to this subtask must not be locked.
Execute
Confirm Delete
Verifies that the user wishes to proceed with deleting the chosen node.
Enabled
This subtask is always enabled.
Execute
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
A session or design node must be selected (Enterprise or field database).
Execute
Create Packet
Creates a new mobile packet.
Enabled
A session or design node must be selected.
Execute
Parameters
OverrideDefaultPacketPrefix: takes a string value for the packet prefix that will override the default. If the parameter is not set, the defaults are used. The defaults are "MMSM_" for Session Manager and "MMWMS_" for Workflow Manager.
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
The node passed to this subtask must not be locked.
Execute
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
Deletes the mobile packet.
Display Conflicts Report
Opens a report that displays all conflicting edits in the currently open session or design.
Enabled
The open session or design must have an associated XML packet.
The conflict report option will not appear in the drop-down list unless you have packet import conflicts that you have not already accepted. |
Execute
The style sheet location is determined by the following registry key: HKEY_LOCAL_MACHINE\Software\Wow6432Node\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
The open session or design must have an associated XML packet.
Execute
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
This subtask is always enabled.
Execute
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
This subtask is always enabled.
Execute
Parameters
GDBM Set Posting Priority
Assigns the posting priority set in Geodatabase Manager to the corresponding session or design version.
Enabled
Execute
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
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
Always enabled.
Execute
Is Mobile Solution enabled?
Determines if Mobile is enabled.
Enabled
Execute
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
Mobile Update
Uses the current user's user name to update the field database with mobile packets from the Enterprise.
Enabled
Execute
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
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
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
Enabled if Process Framework is running through ArcMap or ArcFM Viewer for ArcGIS Engine.
Execute
Sets the Active Annotation Target using the Graphics Layer Name entered as the subtasks parameter.
Parameters
TargetGraphicsLayerName: takes a string value Active Annotation Target. If this parameter is not set, it will default to the first annotation layer in the pull-down list.
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
This subtask is always enabled.
Execute
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
The node is locked because of an ArcMap crash.
Execute
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
A Database ID value must exist in the field database.
Execute
When you run a task, Process Framework will attempt to execute each subtask in order. If any subtask fails, the task stops executing and attempts to rollback each subtask and state transition. Each subtask is responsible for its own rollback, and if a rollback fails, the task will exit with an error. The error should appear in the log file.
When importing a design from the field, if the matching Work Request is not in the mobile state, the design.xml packet is placed in the Non/Mobile folder. If there are any files in the Non/Mobile folder, the subtask will exit with an error. When exporting a design to the field, if the packet ID already exists in the Transport directory, it will move both IDs to the Duplicates directory (on the field side) or the Non/Mobile directory (on the enterprise side). You will see an error in the log file. To resolve this issue, make sure the design.xml packet does not already exist in the Duplicates directory or the Non/Mobile directory. |