Running methods

Use the instructions in this section to manually run a method.

To run the method periodically, create a job to execute the method on a schedule.

If you run a default Documentum method from the Run Method page, select Run as server unless you are logged in as the installation owner.

To run a method:

  1. Navigate to Administration > Job Management > Methods.

    The system displays the Methods list page.

  2. Locate the method and then select Tools > Run Method.

    The system displays the Run Method page.

  3. Enter information on the Run Method page:

    1. Arguments: Type any arguments required by the method.

    2. Timeout: Type a time-out interval.

    3. Save Results: Select to save the results.

    4. Launch Direct: Select to launch the method directly.

      This controls whether the program is executed by the operating systems system or exec API call. If checked, the server uses the exec call to execute the procedure. In such cases, the method_verb must be a fully qualified pathname. If unchecked, the server uses the system call to execute the procedure.

    5. Launch Async: Select to launch the method asynchronously.

    6. Run as Server: Select to run the method as the application owner.

      If selected, it indicates that you want the method to run as the installation owner account. If you run a default Documentum method from this page, select the checkbox unless you are logged in as the installation owner. The checkbox is cleared by default.

      Run as Server must be selected to execute a method on the method server or application server.

    7. Trace Launch: Select to save method execution messages to the server log.

  4. Click OK.

    If you did not select Launch Asynchronously, the following method results appear:

    • The result returned, if any

    • Any document IDs that result

    • The process ID

    • Whether the method launched successfully

    • The return value, if any

    • Whether there were errors on the operating system from running the method

    • Whether the method timed out

    • The method time-out length

  5. Click OK.

    The system displays the Methods list page.