REST API - listMigrationRules

The table summarizes the REST API - listMigrationRules.

Request

Format
GET <baseurl>/process/list/migrationrules/<module>/<process>/<version>
Path parameters
  • module: Name of the module to which the process template belongs.
  • process: Name of the process template whose process instance migration rules are to be listed.
  • version: OSGi-style version number of the process template. (This version number is the same as that of the module.)

    These parameters can be obtained from listProcessTemplates , queryProcessTemplates , and queryProcessTemplatesAlt .

Response

JSON Returns a JSON representation of the content of the migrationRuleList element.
XML Returns the content of the migrationRuleList element (from the ProcessManagement schema).

Example

Request
GET <baseurl>/process/list/migrationrules/%2FWelcomeUsersImplementSolution%2FProcess%20Packages%2FProcessPackage.xpdl/WelcomeUsers/1.0.0.201302061109
Response
{
  "proc:module": {
    "@name": "/WelcomeUsersImplementSolution/Process Packages/ProcessPackage.xpdl",
    "@version": "1.0.0.201302061109",
    "@xmlns:proc": "http://www.tibco.com/bx/2009/management/processManagerType",
    "proc:process": {
      "@name": "WelcomeUsers",
      "proc:migrate": {
        "@fromTask": "DisplayMessage",
        "@toVersion": "1.0.0.201302061132",
        "@creationTime": "2013-02-06T19:49:27.747+00:00"
      }
    }
  }
}