Adding steps to a task in RMC
I am using RMC 7.5.2.0. I am creating my own method plugin by extending activities and tasks from existing base rup. So at the task level, if I have to change steps, I am able to only add or remove the existing steps, but not able to create new steps of my choice. So, how can I create new steps of my choice into an extended/ replaced task?
|
3 answers
Hi Vineetha,
Can please elaborate your question.
How do you extended your tasks and activities ?
Comments
Vineetha Gopinathan
commented Mar 05 '13, 4:47 a.m.
Hi Tanmay, For an activity, I choose the Variability Type as 'Extends' or 'Replaces' wherever applicable and for Tasks, I use 'Link Method Element' to reference an existing task. But I am having this issue with new tasks that I added as well. In that case, when I go to the Steps tab of properties, the Add button is disabled, thus preventing me from adding any new steps. |
You can add new states by just going into the Process Template and adding new states and actions between those states. No extensions are needed. See the Process Enactment Workshop for some examples of this.
|
Hi Vineetha,
Uncheck the "Link Method Element" option. It sounds like you're using Task Descriptors, not extending a Task. A Task Descriptor lives in the Process, which is where time-based actions take place. The Method Description is where you define a task. content in the Method Description is independent of things like iterations. You'll notice that it's only in the Process area where you can add dependencies between Tasks, Activities, etc. You are actually creating Task Descriptors and adding dependencies between those descriptors. A Task Descriptor essentially copies the content of a Task into the Task Descriptor. This way you can add time or context-based additions to the task content, such as adding an extra step in the Task Descriptor when that task is performed during a Deployment iteration instead of an Inception iteration. When you link a Task Descriptor to a method element (in this case a Task), you are saying that you want the Task Descriptor to always look exactly like the Task. Usually, this is what you want when you use a Task. This option was added because otherwise you need to laboriously synchronize your Task Descriptors with your Tasks whenever the Task changes. The assumption here is that if you edited a Task Descriptor, you don't want RMC to automatically overwrite that information just because you changed the corresponding Task. Thus the tedious manual synchronization of Tasks and Task Descriptors. By selecting "Link Method Element", you've told RMC that you don't want to add anything to that Task Descriptor. That's why it's not letting you add any new steps. Uncheck that option and you should be able to edit the Task Descriptor. Comments
Vineetha Gopinathan
commented Mar 07 '13, 2:40 a.m.
Hi Jim, Thank you so much for your suggestion. You are right in telling that what I am using is a task descriptor. When you say uncheck 'Link Method Element', I am assuming that I need to remove the Method Element link. So, I just gave a clear and this now there is no Method task linked. But when I go to the Steps tab, I am still not able to add new steps as the button itself is disabled. This is true for an existing Task Descriptor as well as a new one. I am not sure if I am missing something else. Attaching the screen prints.
1
Hi Vineetha,
Vineetha Gopinathan
commented Mar 11 '13, 8:34 a.m.
Thanks a ton. It worked. I searched for the .xmi file for the TD and directly changed the file.
Vineetha Gopinathan
commented Mar 12 '13, 2:36 a.m.
I was able to modify the existing steps. But how can I add steps to the TD that I created and which does not have a .xmi file in the name of the TD. It sounds like you modified the steps in the task, but not steps in the task descriptor, is that correct? You can get task steps into the task descriptor by syncing the task descriptor (right-click on the task in the WBS or an activity diagram).
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.