cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Updating object to latest version of lifecycle?

tbusch
1-Newbie

Updating object to latest version of lifecycle?

Hey folks,

Currently the only way I know of to get an object to pick up changes to a LifeCycle (New states, etc) is by creating a new version of the object. Can someone point me at a utility or API which will allow me to force an object to use the latest LifeCycle without changing versions of the object itself?

Thanks!

-Tom

7 REPLIES 7

Use the Set State function. If it bumps the version up then that is defined
in the lifecycle itself.



Herb Miller

TWeatherford, Inc.

3148 Beach Blvd

Cicero, IN 46034

www.tweatherford.com
clicking here

"If you continue to ignore PLM, you will learn about it from your biggest
competitor"
MikeLockwood
22-Sapphire I
(To:tbusch)

This was a discussion subject at the user conference in June; we were able to obtain such a utility from PTC shortly after the conference.

The tool was beta at the time - we worked w/them to confirm error checking & handling, logging, etc. on a test system, then ran it in production for about 700,000 objects a few months ago - all ok since then.



Hi

One can use the following



LifeCycleHelper.service.reassign(lifecyclemanaged,
lifecycletemplatereference)



For resetting the lifecycle template.



Thank you and have a great time.

Best Regards

Swamy Senthil

973 216 0456(M)

866 908 6561(F)

Swasen Inc

www.swasen.com

_____
RandyJones
19-Tanzanite
(To:tbusch)

On 11/17/09 10:32, Thomas Busch wrote:
> Hey folks,
>
> Currently the only way I know of to get an object to pick up changes to
> a LifeCycle (New states, etc) is by creating a new version of the
> object. Can someone point me at a utility or API which will allow me to
> force an object to use the latest LifeCycle without changing versions of
> the object itself?
>
> Thanks!
>
> -Tom

Not sure if this is what you are after however in 9.1 (m030) you can
select "Actions | Reassign Life Cycles" as an administrator. This will
allow you to pick up the latest changes to a lifestyle.

--
------------------------------------------------------------------------
Randy Jones
Systems Administrator
Great Plains Mfg., Inc.
1525 E North St
PO Box 5060
Salina, KS USA 67401
email: -
Phone: 785-823-3276
Fax: 785-667-2695
------------------------------------------------------------------------
RandyJones
19-Tanzanite
(To:tbusch)



In Reply to Thomas Busch:

Hey folks,

Currently the only way I know of to get an object to pick up changes to a LifeCycle (New states, etc) is by creating a new version of the object. Can someone point me at a utility or API which will allow me to force an object to use the latest LifeCycle without changing versions of the object itself?

Thanks!

-Tom

Notsureifthisiswhatyouareafterhoweverin9.1(m030)youcan select"Actions|ReassignLifeCycles"asanadministrator.Thiswill
allowyoutopickupthelatestchangestoalifestyle.
jcrowe
1-Newbie
(To:tbusch)

Randy has the right idea. Do it from --> Actions|ReassignLifeCycles. In 9.0, thisaction is available from the toolbarin seasrch results table aftersearching for some objects as well. I'm not sure about 9.1 however

Hi,


How do I start the life cycle from a specific state?


wt.lifecycle.LifeCycleManaged lcm = wt.lifecycle.LifeCycleHelper.service.reassign((wt.lifecycle.LifeCycleManaged) user, lctr, user.getContainerReference(), SPECIFIC STATE );

Top Tags