Menu

About Workflow application

Help
kklee
2012-06-08
2015-11-26
  • kklee

    kklee - 2012-06-08

    how to use workflow.Is there any instructions in details?Thanx

     
  • Alberto Pereto

    Alberto Pereto - 2012-06-27

    The workflow is a feature that is available in Plandora since version 1.9.0. You can setup a workflow template and use it in any project to create a sequence of tasks and approvement.

    But, until now (version 1.11.0), there is no screen to create visually a workflow. You have to create "manually" at database the workflow template.

    The script below contain an example of template creation. We working on the screen that creates the workflow. Probably the next Plandora release will be available.

    insert into planning (id, description, creation_date, final_date, iteration, rich_text_desc) values('190', null, '2012-01-06', null, null, null);
    insert into template (id, name, deprecated_date, root_node_id, category_id) values ('190', 'Bug Treatment reported by the Customer', null, '90', '0');
    insert into node_template (id, name, description, node_type, planning_id, project_id, next_node_id) values ('90', 'Bug Evaluation', 'Analise, reproduce and evaluate the bug occurrence that was reported by customer.', '1', '190', null, '91'); 
    insert into node_template (id, name, description, node_type, planning_id, project_id, next_node_id) values ('91', 'Bug Verification', 'Verify the occurrence (after evaluation) to ensure that is really a bug.', '2', '190', null, '92'); 
    insert into node_template (id, name, description, node_type, planning_id, project_id, next_node_id) values ('92', 'Fixing the feature (...)', '[write here any suggestions or attention points to be considered by the analyst during the feature rework]', '1', '190', null, '93'); 
    insert into node_template (id, name, description, node_type, planning_id, project_id, next_node_id) values ('93', 'Testing the feature (...)', '[write here the scope of the test to be performed or information that helps the analyst during validation testing of functionality]', '1', '190', null, '94'); 
    insert into node_template (id, name, description, node_type, planning_id, project_id, next_node_id) values ('94', 'Feature validating', 'Verify whether the test has passed', '2', '190', null, null); 
    insert into step_node_template (id, category_id, resource_list, category_regex) values ('90', '0', null, null);
    insert into decision_node_template (id, question_content, next_node_id_if_false) values ('91', 'Is this a bug?', null);
    insert into step_node_template (id, category_id, resource_list, category_regex) values ('92', '0', null, null);
    insert into step_node_template (id, category_id, resource_list, category_regex) values ('93', '0', null, null);
    insert into decision_node_template (id, question_content, next_node_id_if_false) values ('94', 'The test passed?', '92');
    
     
  • Jerónimo Medina Huamán

    Hola Alberto,

    Este es el workflow que cree, todo esta bien, pero cuando quiero cerrar la tarea y guardo falla, aque se debe ???

    use plandora;
    insert into planning (id, description, creation_date, final_date, iteration, rich_text_desc) values('300', 'null', null, null, null, null);
    insert into template (id, name, deprecated_date, root_node_id, category_id) values ('300', 'WF 01', null, '200', '0');
    insert into node_template (id, name, description, node_type, planning_id, project_id, next_node_id) values ('200', 'DEV', 'Development', '1', '300', null, '201');
    insert into node_template (id, name, description, node_type, planning_id, project_id, next_node_id) values ('201', 'DEV', 'Development', '1', '300', null, null);
    insert into step_node_template (id, category_id, resource_list, category_regex) values ('200', '0', null, null);
    insert into step_node_template (id, category_id, resource_list, category_regex) values ('201', '0', null, null);

     

    Last edit: Jerónimo Medina Huamán 2015-11-20
  • Alberto Pereto

    Alberto Pereto - 2015-11-26

    Hola Jerónimo.

    In fact, there is a limitation at Plandora that fails in case of workflows without a decision node. In your case, the workflow contain two sequential tasks.

    This bug was fixed and will be available on the next Plandora release.

    For while, the workaround is to create a additional node to "confirm" to the last task if the workflow has finished. The script below must be appended with your previous script.

    update node_template set next_node_id='202' where id='201';
    
    insert into node_template (id, name, description, node_type, planning_id, project_id, next_node_id) values ('202', 'Ask about finishing...', 'Verify whether the workflow has finished', '2', '300', null, null); 
    
    insert into decision_node_template (id, question_content, next_node_id_if_false) values ('202', 'The workflow has finished?', '200');
    

    Saludos.

     

Log in to post a comment.