ArcFM Desktop Configuration Guide
Session Manager Subtasks

Resource Center Home

Below is a list of the subtasks available for use with Session 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.

Change Owner All Session changes the owner of a session to any valid user.

Enabled

Execute

  1. Identifies the users with the appropriate roles assigned to own the selected node.
  2. Gets the value of the DefaultUser parameter.
  3. If the AutoChangeOwner value is set to 1 (True), selects the DefaultUser and assigns the node. If no DefaultUser value is set, allows the user to select from a list of valid users.
  4. If the AutoChangeOwner value is set to 0 (False), selects the DefaultUser and allows the user to change the selection from a list of valid users. If no DefaultUser value is set, allows the user to select from a list of valid users.
  5. Assigns the node to the chosen user.

Parameters

Change Session Owner allows the user to assign the session to another user.

Enabled

Execute

  1. Checks to see that the node is a session.
  2. Prompts the user to save if the session is open in ArcMap.
  3. Finds a list of users that have the roles necessary to access the current node.
  4. Gets the value of the DefaultUser parameter.
  5. If the AutoChangeOwner value is set to 1 (True), selects the DefaultUser and assigns the node. If no DefaultUser value is set, allows the user to select from a list of valid users.
  6. If the AutoChangeOwner value is set to 0 (False), selects the DefaultUser and allows the user to change the selection from a list of valid users. If no DefaultUser value is set, allows the user to select from a list of valid users.
  7. Attempts to transfer ownership of the session to the selected user.
  8. Closes the session if it is open in ArcMap.

Parameters

Change Session Owner Self changes the owner of the selected node to the current user.

Enabled

Execute

  1. Changes the owner of the node to the current user.

Change Session Owner to Mobile allows the user to change the owner of a session to a mobile user.

Enabled

Execute

  1. Finds a list of users that have the roles necessary to access the current node.
  2. Gets the value of the DefaultUser parameter.
  3. If the AutoChangeOwner value is set to 1 (True), selects the DefaultUser and assigns the node. If no DefaultUser value is set, allows the user to select from a list of valid users.
  4. If the AutoChangeOwner value is set to 0 (False), selects the DefaultUser and allows the user to change the selection from a list of valid users. If no DefaultUser value is set, allows the user to select from a list of valid users.
  5. Assigns session to the chosen user.

Parameters

Clear CurrentOpenSession Property

Enabled

Execute

  1. Sets the CurrentOpenSession property to Null.

Close Session closes a session that has been opened in ArcMap.

Enabled

Execute

  1. Closes the open session.

Create Session adds a new session node.

Enabled

Execute

  1. Creates a new session node.
  2. Assigns the TypeID if one has been specified in the parameter.
  3. Adds the node to the TOC.

Parameters

Delete Session removes the session and attempts to remove all of the associated version data from ArcMap. If it cannot remove the version data from ArcMap, the data is marked as orphaned and may be deleted using the Clean Up tool.

Enabled

Execute

  1. Asks the user to confirm deletion.
  2. If the session is open in ArcMap, it will be closed.
  3. Calls the node’s deleter object.

Does User Own Session Node? checks to see if the user is also the current owner.

Enabled

Execute

  1. Always returns true.

Is Session Closed? determines if a session has been closed.

Enabled

Execute

  1. Always returns true.

Is Session in a Non-Mobile State? determines whether the session is open.

Enabled

Execute

  1. Always returns true.

Parameters

Is Session Locked? checks the session to determine if it is locked.

Enabled

Execute

  1. Always returns true.

Is Session Open? determines if a session is open for editing in ArcMap.

Enabled

Execute

  1. Always returns true.

Mobile Submit Session changes the mobile session’s status to Pending Approval and allows the mobile user to assign it to an approval officer.

Enabled

Execute

  1. Executes the Submit Session task.

Open Edit Session opens the session node for editing in ArcMap.

Enabled

Execute

  1. Opens the session as editable.
  2. Sets the PxApplication on the Process Framework Task Tool extension.

Open Graphic Session opens the session node for graphic (or redline) editing in ArcMap. This subtask requires Mobile (or Redliner) and creates a Mobile packet for the session when executed.

Enabled

Execute

  1. Gets the session.
  2. Creates a Mobile packet if one does not already exist for the session.
  3. Determines whether the session should be opened as View Only.
  4. Loads the session's stored display (if it exists).
  5. Loads the session's Mobile packet.
  6. Activates the mobile graphics layer.
  7. Sets the PxApplication on the Process Framework Task Tool extension.

Post Session posts the session version to the geodatabase.

Enabled

Execute

  1. If the workspace is versioned, the session is posted. If the workspace is not versioned (e.g., Access database), the session is saved and not posted, but the approve actions are still performed.
  2. Closes the session.
  3. If the DoNotDeleteSession subtask parameter is null or set to 0, the session is deleted. If this value is 1, the session is not deleted and its state is set to Pending Approval. The session's version status is set to 2 for "posted".

Parameters

Reconcile Session reconciles the session’s version with the geodatabase.

Enabled

Execute

  1. Determines whether the DefineConflictsByColumn configuration value is set in the Process Framework Admin Tool (Configuration tab). If this value is set to 1, conflicts are defined by column. If this value is set to 0 or not set at all, conflicts are defined by row.
  2. Reconciles the session node. If reconcile fails or is cancelled, Execute returns false and the subtask is rolled back along with any subtasks executed prior to it.

Reject Session changes the session’s status to In Progress and allows the user to assign it to another user.

Enabled

Execute

  1. Prompts the user to select a new user.
  2. Attempts to transfer ownership.
  3. Tells the builder that the user has changed so it can update the tree if necessary.

Re-Send Session to Field executes the "Send Session to Current Field Owner" task if the node’s current owner has the Session ALWAYS Mobile User role assigned.

Enabled

Execute

  1. Gets the node's owner.
  2. Executes the "Send Session to Current Field Owner" task if the node's owner has the Session ALWAYS Mobile User role assigned.

Save Session saves the current session.

Enabled

Execute

  1. Saves the session.

Send Session identifies whether the user is in the field or on the enterprise and executes the appropriate task: Send Session to Enterprise or Send Session to Field

Enabled

Execute

  1. Checks to see if the user is in the field or on the enterprise.
  2. If the user is in the field, executes Send to Enterprise task.
  3. If the user is on the enterprise, executes the Send to Field task.

Send Session to Enterprise takes a session from the mobile environment and puts it back on the enterprise server.

Enabled

Execute

  1. Closes the session if it is open in ArcMap.
  2. Adds the packet to the transporter.
  3. Deletes the session.

Send Session to Field takes a session from the enterprise server and puts it in the mobile environment.

Enabled

Execute

  1. Closes the session if it is open in ArcMap.
  2. Creates a mobile packet if one does not already exist.
  3. Saves the mobile packet.
  4. Adds the mobile packet to the transporter.

Submit Session changes the session’s status to Pending Approval and allows the user to assign it to an approval officer.

Enabled

Execute

  1. Prompts the user to save edits.
  2. Prompts the user to select an approval officer.
  3. Attempts to transfer ownership.
  4. Tells the builder that the user has changed so it can update the tree if necessary.
  5. If the session is open in ArcMap, it will be closed when it is submitted to another user.

 

 


Send Comment to ArcFMdocumentation@schneider-electric.com