cancel
Showing results for 
Search instead for 
Did you mean: 

Inactive activities in CBS blocking the process view in process composer

Former Member
0 Kudos

Hi Guys,

I have done some changes to a process DC and checked in to CBS in DEV server without building and not realizing there is a version confilct between the NWDS used by me and the DC version already there in the server

So the Build failed with checked in activities as inactive lying in DEV server.

So, when I imported the track again to modify/correct the error, I am getting a build failure with that particular process not displayed under processes in process composer perspective

So, what is the soln now for correcting the erroneous process DC lying there in DEV server?

Is it possible to delete the inactive activities from CBS so I get the old version of DC from the track to start over the modification of the process again?

Or any other suggestions?

Please note that I have created activities which are inactive in CBS - DEV server due to build failure bcoz of version confilict

Thx

mike

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

after you follow my instruction, did you checkin and activate in nwdi? is the activation successful?

ok, let's go back to beginning.

what's the error you have initially? how you get there:)

two people work on same dc?

Former Member
0 Kudos

John

I did check in and activate in nwdi. And I could see the activated DC in DTR.

The origin of the issue: I was using NWDS 7.2 version for modifying this DC (process) and checked in NWDI/DTR and activated in DTR. It got checked in but did not get activated due to the error below

Ant build finished with ERRORS

java.lang.Exception: DC cannot be built. Version of used metamodel is higher than the version of the build plugin.(1.0.0) metamodel version(2.0.0)

Error: Build stopped due to an error: java.lang.Exception: DC cannot be built. Version of used metamodel is higher than the version of the build plugin.(1.0.0) metamodel version(2.0.0)

MOIN forced shutdown initiated.

And the activity is lying in DTR with an inactive and closed state. There is no active activity for this DC change along with it.

This error occured because the working version of DC was built in DTR using NWDS 7.1 EHP 1 by another person, And I was using 7.2 for modification.

So later, I downloaded 7.1 EHP1 NWDS and imported the DC from NWDI track and that's where the whole issue starts.

"Process not visible in process composer"

So that's where the whole thing started and I was looking for a way out to revert the inactive activity in DTR for my change but not finding any option to do it. And also I'm not sure if there is any other way to resolve this issue....

thx

mike

junwu
Active Contributor
0 Kudos

as you said, it is activated in nwdi, i think it should be good now.

ask other developer to check out the dc to see what will happen.

Former Member
0 Kudos

John

there is no other developer now. I am the only person.

I have NWDS 7.1 EHP1. What do you mean by check out the DC?

You are still not pointing to the inactive activities revert back option. As long as there is an inactive activty lying in DTR for the DC, we have issue while downloading the track from NWDI,It downloads with the inactive DC always and throws the build error as given above and also not visible the process

Why are you not trying to show me how to revert back or delete the inactive activities in some way or other. Is it not possible?

thx

mike

junwu
Active Contributor
0 Kudos

there is no way to delete or roll back the closed activity.

you can only make a new activity to correct your error.

i believe you have created a new activity, if you activate it , everything should be fine.

are you sure you have activated it? it didn't prompt you to activate the preceding activity?

Former Member
0 Kudos

John

It dd prompt to activate with predecessors but when I tried doing that, I was getting the same error

So then I went with the option of only overlapping objects check box (the previous activity was not selected in this case) and our new activity got activated.

thx

mike

Former Member
0 Kudos

Many Thanks to John. the issue is resolved now following John's instruction

thx

mike

Answers (4)

Answers (4)

Former Member
0 Kudos

I guess merge could also work in this case on NWDS

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Michael,

did the instructions helped? If yes, could you please mark the thread answered?

Thank you and Regards,

Ervin

vinay_baji2
Active Participant
0 Kudos

Hi Michael,

Open the navigator view in NWDS, right click on your problem component, and choose DTR -> sync -> Sync to date.

Set the date when everything was fine. Once the sync is complete, build and deploy the file.

This will resolve your issue.

Best Regards,

Vinay

Former Member
0 Kudos

Anybody? I have seen 32 views but no reply so far

Former Member
0 Kudos

The question is how do we revert back the inactive activities chedked in to DTR so that I get the previous version of the DC component back.

-mike

junwu
Active Contributor
0 Kudos

there is no easy rollback.

1. sync to a previous version which is working.

2. copy the whole dc to another folder.

3.sync to latest version. check out all file, any overwrite with your previously saved version in step 2.

4. check in all file.

5.now your dc is rolled back to previous working version.

Former Member
0 Kudos

Hi John,

Thx for the reply. but I didn';t understand fully.

Can you please elaborate what you are trying to say like which perspective for the copy and how to do it and same for other steps

thx

mike

junwu
Active Contributor
0 Kudos

1. sync to a previous version which is working. [DTR perspective]

2. copy the whole dc to another folder.[OS level, your own computer]

3.sync to latest version. check out all file[DTR perspective], any overwrite with your previously saved version in step 2[OS leve].

4. check in all file[DTR perspective].

5.now your dc is rolled back to previous working version.

Former Member
0 Kudos

Vinay, John

Your suggestions did not help. I synced to date the DC where it was working before.

But when I tried to edit for creating an activity, it's not allowing me to edit. There is a message " Files need to be prepared for editing" The inactive acitivites are in the DTR still there and I guess, stil there is a conflict

How do we revert back those from DTR? Is there an easy way to revert back the closed state inactive activities?

this is totally blocking my further development on the DC which are under the inactive activities

Pls suggest. Hasn't anyone faced the similar issue (using NWDS 7.2 to edit the DC which had a previous version and when activated the activities, the files are locked and not able to edit)

-mike

Former Member
0 Kudos

The build error occurred while I was using NWDS 7.2, edited the process and checked in to DTR. This is the main reason for the whole issue. Now to remediate this issue, we might have to find the culprit DC under inactive activities and remove that or may revert back the entire inactive activities for the process. the build error is "version of used metamodel is higher than the version of the build plugin (1.0.0) metamodel version (2.0.0)

This error is causing the build to stop and make the activities inactive under DTR inactive DC

This is preventing from further modifying the DC

This is the issue to be more precise. That;'s why I am trying to revert back the inactive actvitiies even though its in a closed state

Any one has faced similar issue

??

mike

junwu
Active Contributor
0 Kudos

did you really follow my instruction?

i didn't ask you to edit the file when it is synchronized to an older version.

Former Member
0 Kudos

Hi John,

With your steps, the inactive activities in DTR will stay there and prevent from further editing the DC right?

1. sync to a previous version which is working. DTR perspective

2. copy the whole dc to another folder.OS level, your own computer

3.sync to latest version. check out all fileDTR perspective, any overwrite with your previously saved version in step 2OS leve.

4. check in all fileDTR perspective.

5.now your dc is rolled back to previous working version.

In these steps, I get the DC rolled back to the latest version but I am not sure if it will allow to edit the DC.

And also since there is an inactive actvities which are in closed state lying in DTR for the same DC, can I really achieve what I wanted to? Sync to latest version which was working and edit the DC to create new activities and deploy in DTR. ???

I did sync to date which was working version and tried to edit to create new activity but that did not help.

Is your suggestion also iin the same line?

Pls let me know

mike

junwu
Active Contributor
0 Kudos

buddy , can you just try.....

junwu
Active Contributor
0 Kudos

> I did sync to date which was working version and tried to edit to create new activity but that did not help.

> Is your suggestion also iin the same line?

>

i just ask you to make a whole copy of the working version. not doing any editing.

i believe it is written in English:)

Former Member
0 Kudos

John. I tried your method but it's still not helping

I am not able to see the process as mentioned in my first comment about this issue

"So, when I imported the track again to modify/correct the error, I am getting a build failure with that particular process not displayed under processes in process composer perspective"

If I sync to latest version as you suggested, I won't get the process displayed. The process has to be displayed in process composer of NWDS to do further development. Got it? This is what is the main issue here if you may

And also If I sync to a working version and check out all files in folder, the system gives this error below

Check out SKIPPED: File is out of date - file needs to be synced to latest version first C:\Users\mike\workspace.jdi\2\DCs\novell.com\bpeval\procs\perform\_comp\.dcdef

So now you know the issue is really complex.. If you've faced a similar one, please shoot and help me out

thx

mike

junwu
Active Contributor
0 Kudos

so simple 4 steps, you just cannot follow...................

at step 3, you can check out the code from DTR perspective, you don't need a buildable project under process composer perspective.

Former Member
0 Kudos

John,

You are simply awesome. I was so puzzled with this issue that I didn't follow the steps properly.

Now, When I closely read your steps and tried, all is well now. I got my previous working DC and the process in place which can be used for further editing/development or what ever it is. You are a great great expert in NWDS I would say

I am very glad to get it worked. Thanks again for your support and once again really sorry for the puzzled up responses

thx

mike

Former Member
0 Kudos

John

I have a surprise now. If I import the same DC from the NWDI track, I am getting the same issue.

Build error and process not visible? Any idea how to resolve this? Can I delete those troublesome inactive activities from DTR?

If so, how to? Or any other better way?

thx

mike