Workflow customisation

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
sasee
Posts: 23
Joined: 25 Jun 2013, 10:26

Workflow customisation

Post by sasee »

Hi All,

I have created a work flow in mantis and please find the same below.

$g_status_enum_workflow[NEW_]=
'10:new,12:StructureML,25:Query';
$g_status_enum_workflow[Query] = '25:Query,10:new,12:StructureML,13:LayoutML,14:CorrectML,15:CheckFormexML,16:StructureOL,17:LayoutOL,18:CorrectOL,19:FinalFormex,20:FinalLayout,21:CorrectFinal,22:DoubleFormex,23:Dispatch';
$g_status_enum_workflow[StructureML] =
'12:StructureML,13:LayoutML,25:Query';
$g_status_enum_workflow[LayoutML] =
'13:LayoutML,14:CorrectML,15:CheckFormexML,25:Query';
$g_status_enum_workflow[CorrectML] =
'13:LayoutML,14:CorrectML';
$g_status_enum_workflow[CheckFormexML] =
'15:CheckFormexML,16:StructureOL';
$g_status_enum_workflow[StructureOL] =
'16:StructureOL,17:LayoutOL,25:Query';
$g_status_enum_workflow[LayoutOL] =
'17:LayoutOL,18:CorrectOL,19:FinalFormex,25:Query';
$g_status_enum_workflow[CorrectOL] =
'17:LayoutOL';
$g_status_enum_workflow[FinalFormex] =
'19:FinalFormex,20:FinalLayout,21:CorrectFinal';
$g_status_enum_workflow[FinalLayout] =
'20:FinalLayout,21:CorrectFinal,22:DoubleFormex';
$g_status_enum_workflow[CorrectFinal] =
'20:FinalLayout,21:CorrectFinal';
$g_status_enum_workflow[DoubleFormex] =
'22:DoubleFormex,23:Dispatch';
$g_status_enum_workflow[Dispatch] =
'23:Dispatch';
$g_status_enum_string = '10:new,12:StructureML,13:LayoutML,14:CorrectML,15:CheckFormexML,16:StructureOL,17:LayoutOL,18:CorrectOL,19:FinalFormex,20:FinalLayout,21:CorrectFinal,22:DoubleFormex,23:Dispatch,25:Query';

I have a request where an issue has to split into five-six from the structure OL stage and it has to go as a single issue from final formex stage.

Versions:

APACHE version 2.4.2;
PHP version 5.4.3;
MYSQL 5.5.24
mantisbt-1.2.15


Request you to please help me.

Thanks,
Sasi
atrol
Site Admin
Posts: 8555
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Workflow customisation

Post by atrol »

I don't have the time for a deeper look at your configuration and to be honest I don't understand what you want.

As a first step I recommend to use page Manage > Manage Configuration > Workflow Transitions for such kind of customizations instead of config_inc.php.
It's easier to understand and allows to set project dependent configurations.
Please use Search before posting and read the Manual
sasee
Posts: 23
Joined: 25 Jun 2013, 10:26

Re: Workflow customisation

Post by sasee »

Hi Atrol,

Thanks for the feedback.

I will look into this and let you know, if there are any questions.

Thanks,
Sasi
Post Reply