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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Checking Revision in workflow

vmcdaniel
12-Amethyst

Checking Revision in workflow

HI,

How do you check the revision in a workflow expression?
We want to be able to verify the revision is Revision A in a certain workflow.


Thanks!


Be well,

Vaughn McDaniel III | Engineering Services Group - PLM/CAD Applications | Kärcher North America - Englewood | x:75245828 m:720.216.3495 o:303.783.5828 | vaughn.mcdaniel@karcherNA.com<">mailto:vaughn.mcdaniel@karcherNA.com> | 1351 W. Stanford Ave., Englewood, CO80110
[cid:image001.png@01CF1B4A.AEA766D0]<">http://www.karcher.com/usa/Home.htm>
PLM?<">http://en.wikipedia.org/wiki/Product_lifecycle_management> Windchill?<">http://www.ptc.com/WCMS/files/130891/en/flash/index.htm?&im_dbkey=130891&im_language=en> PLM for SMB?<">http://www.ptc.com/WCMS/files/129410/en/flash/index.htm?&im_dbkey=129410&icg_dbkey=362>

1 REPLY 1
RandyJones
19-Tanzanite
(To:vmcdaniel)

On 01/27/14 11:29, Vaughn McDaniel wrote:
>
> HI,
>
> How do you check the revision in a workflow expression?
>
> We want to be able to verify the revision is Revision A in a certain workflow.
>

If you have an EPMDocument epmDoc then you can do this:
String rev = epmDoc.getVersionIdentifier().getValue();
System.out.println("Revision for " + epmDoc.getCADName() + " = " + rev);

> Thanks!
>
> Be well,
>
> Vaughn McDaniel III | Engineering Services Group -- PLM/CAD Applications | Kärcher North America - Englewood | x:7524*5828 *m:720.216.3495 o:303.783.5828| vaughn.mcdaniel@karcherNA.com <">mailto:vaughn.mcdaniel@karcherNA.com> | 1351 W. Stanford Ave., Englewood, CO80110
>
> <">http://www.karcher.com/usa/Home.htm>
>
> PLM? <">http://en.wikipedia.org/wiki/Product_lifecycle_management> Windchill? <">http://www.ptc.com/WCMS/files/130891/en/flash/index.htm?&im_dbkey=130891&im_language=en> PLM for SMB? <">http://www.ptc.com/WCMS/files/129410/en/flash/index.htm?&im_dbkey=129410&icg_dbkey=362>
>
>
> _______________________________________________________________________________________________________________
>
> THIS MESSAGE IS INTENDED ONLY FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY CONTAIN
>
> INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL, AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. IF YOU HAVE
>
> RECEIVED THIS COMMUNICATION IN ERROR, PLEASE IMMEDIATELY DELETE IT FROM YOUR SYSTEM AND NOTIFY THE SENDER BY
>
> RETURN E-MAIL.
>
>
>
>
>
>
> ----------


--
------------------------------------------------------------------------
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
------------------------------------------------------------------------

Announcements


Top Tags