Whether you are migrating from V6 or V7.1, the process metamodel definition has been changed. Please see here for more info on how to migrate your existing metamodel to V7.2.
The reporting system has been simplified in V7. To migrate an existing report to V7, the following steps should be taken
PkitMetrics.xml
and the related “beforeOpen” scripts are no longer required. To remove them, follow these steps for every Data Source in your report:With new V7 capabilities, new entities and properties have been added to the Scripting API and existing ones were updated.
The newly introduced Guidance elements can be accessed via the new containsGuidance@SYSTEM
and containsGuidanceIndex@SYSTEM
entities, similar to containsActivity@SYSTEM
or containsActivityIndex@SYSTEM
. As Guidance replaced Resources, containsResource@SYSTEM
and containsResourceIndex@SYSTEM
entities now returns empty lists.
Tailoring Questions and Answers can now be accessed via this data model:
As private compliance scopes are not supported anymore, the containsPrivateScope@SYSTEM
entity now always returns an empty list.
Reports are now always executed with the permissions of the current user. The asCurrentUser.run(…)
script statement is not required anymore and can be removed. If left in the script, it has no effect anymore.
The pkit
variable has been superseded by the stages
or $s
variable, but the pkit
variable still exists and works as previously defined.
A new API call stages.getCurrentProcess()
has been added as a shortcut for the existing pkit.getCurrentProject().getEntities(“containsProcess@SYSTEM”)[0]
call sequence.