Memberlistvivit-worldwide.org  FAQFAQ   SearchSearch   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages Log in with your Vivit username and passwordLog in with your Vivit username and password 

calling one workflow into other workflow(subworkflow)PPM 7.1

 
Post new topic   Reply to topic    Vivit Discussion Groups Forum Index -> HP Project & Portfolio Mgmt
View previous topic :: View next topic  
Author Message
ppratap707
Newbie


Joined: 11 Sep 2008
Posts: 7

PostPosted: Mon Nov 09, 2009 6:06 am    Post subject: calling one workflow into other workflow(subworkflow)PPM 7.1 Reply with quote

Problem here goes -

1) There are 2 existing modules in ITG by name Development Process and Change Control – Enhancement and they have there associated workflows respectively.

2) At one phase in the Development process say in UAT phase, we need to provide user a button by name Create Change Control for the current Development request which is of the type enhancement.


3) When the user clicks on the Create Change Control button available in the UAT phase, the user should be automatically be linked to the module Change Control – Enhancement as stated in step 1. The request for change control should get created of this type rather than user going on the Change Control module, then selecting the type as enhancement and finally raising the case.

4) On click of this ready to serve button of Create Change Control, the step 3 should get created.

For this, we went through the guides / manual available for ITG in the online library of Kintana. They said that we can apply the concept of Subworkflow. But there they haven’t mentioned about –

a) What kind of calls (send/receive) will be associated between main workflow and subworkflow

b) What we kind of validations needs to be created for these calls.

c) How to send/receive the calls.

d) How to associate the subworkflow to its relevant request type so that when user is directed to the page of the change control – enhancement, user sees the same set of page details as its available for the module control – enhancement separately.

Since we were not getting much idea about it, we proceeded in this way –

a) We created the replica of the existing change control – enhancement as subworkflow.

b) We created 2 validations for jump and receive.

c) We created on decision step which has one transition for Create Change Control. This transition we linked with the subworkflow.

d) We created on close execution step for returning to the main workflow from the subworkflow to which we associated the receive validation.

e) We could not associate the right kind of validation to the subworkflow created. We associated the subworkflow to the change control approval validation as we did not have much idea about.

f) Upon doing so and running the workflow, the things did not work.

I think because of not knowing the correct type of validation in subworkflow and wrong type of calls we are not able to do the request. Where to go and associate the request type in the subworkflow.


Please help me in this regard.
[/b]
Back to top
View user's profile Send private message
shugruc
Active Member


Joined: 02 May 2007
Posts: 58
Location: Boston

PostPosted: Mon Nov 09, 2009 8:02 am    Post subject: Reply with quote

Hi,

It sounds like you are looking to use a special command to have PPM automatically create a request of a different request type - which does not necessarily require a sub-workflow. The special command is not out of the box, but it is easy to create yourself, similar to the ksc_create_project command which IS part of the standard PPM installation. Give that a try.
Back to top
View user's profile Send private message
ppratap707
Newbie


Joined: 11 Sep 2008
Posts: 7

PostPosted: Mon Nov 09, 2009 8:17 am    Post subject: Reply with quote

Thanks for the reply. Can you help me where is this ksc_create_project command present so that seeing the same i can create a command as per my requirement and give a try. Is this command explained in any of the docs in the library available?

Please help me. I am struggling from a long time
Back to top
View user's profile Send private message
shugruc
Active Member


Joined: 02 May 2007
Posts: 58
Location: Boston

PostPosted: Mon Nov 09, 2009 8:21 am    Post subject: Reply with quote

Yes, it should be explained in the Demand Management configuration guide. To find it and to create/edit your own special commands, go to the workbench and open the 'Special Commands' tab.

As an example, here is the ksc_create_project code (simply change the parameters/tokens and the same steps will work for requests. The knowledge base on the HP Support site contains tips around this as well.

ksc_run_java com.kintana.core.server.execution.CreateProject -projectName "[REQ.P.KNTA_PROJECT_NAME]" -projectTypeName "[REQ.VP.KNTA_PROJECT_TYPE]" -startDate "[REQ.P.KNTA_PLAN_START_DATE]" -endDate "[REQ.P.KNTA_PLAN_FINISH_DATE]" -projectManager "[REQ.P.KNTA_PROJECT_MANAGER]" -region "[REQ.P.KNTA_REGION]" -requestID [REQ.REQUEST_ID] -userID [SYS.USER_ID] -userName "[SYS.USERNAME]"
Back to top
View user's profile Send private message
ppratap707
Newbie


Joined: 11 Sep 2008
Posts: 7

PostPosted: Mon Nov 09, 2009 8:23 am    Post subject: Reply with quote

Thanks buddy... I will try this way for my requirement let you know if i have any issues......
Back to top
View user's profile Send private message
ppratap707
Newbie


Joined: 11 Sep 2008
Posts: 7

PostPosted: Mon Nov 09, 2009 8:52 am    Post subject: Reply with quote

Hello,

I went through the command mentioned by you. but in our case, its a different. In the ksc_create_project case we are creating a new project. In our case we are in a workflow.

Say we are in the certain stage. On one of the transactions we need to fire a command such that it goes and initiates the request for change control of type enhancemnt. In our case this change control enhancment is itself another module for which the first phase is to define the request and untill then its in not submitted state.

Here in our case, when we click the create change control button, on transaction it should hit a command for directlt going to the 1st step for the module change control of enhancment type.

On the transition, i dont think we have the option to add the command as such mentioned by you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Vivit Discussion Groups Forum Index -> HP Project & Portfolio Mgmt All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group