This article presents the method to import the status transition used in the Change module.
It is possible to control the possible status transitions depending on the Change category or the permissions associated with your roles. The transitions and permission must be imported via DataImporter.
- Change Management - Octopus Module
- DataImporter -XML Configuration File
- Back to main page for DataImporter
- Category- Text (100)
Represents the Change category.
The category will be created if it does not exist.
Status transitions associated to the category do not get added from one import to the other, they get replaced. Hence it is important to add every possible status transition to the categories being imported.
- SourceState- Text (1000)
The New status must be present for each category as the starting status.
The status will be created if it does not exist.
- DestinationState - Text (1000)
- The status that represents the new possible step.
- The status will be created if it does not exist.
- RequiredPermission- Text (1000)
Permission required to change to the target status.
The permission will be created in the Change category if it does not exist.
If a permission exists with the same name but in another category, an error appears and the import will not be done.
Configuration File (XML)
The declaration of the source is done by indicating ChangeStateTransition in the <Content> tag.
<?xml version="1.0" encoding="utf-8" ?> <Sources> <Source Name="UserSource" > <ConnectionString>Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Import\Transitions.xlsx;Extended Properties="Excel 12.0 Xml;HDR=YES";</ConnectionString> <ViewName>[Import Basic Transisitons$]</ViewName> <Content>ChangeStateTransition</Content> </Source> </Sources>
Thank you, your message has been sent.