Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all 8876 articles
Browse latest View live

Windchill API that returns this ACL.

$
0
0

Please help me in this. \\\\\\

 

 

 

Thanks

Roop


how to restrict legacy revisions for new part creation

$
0
0

We have Revision Series loaded in system with some legacy=true value, so that those revisions can be imported for legacy data, i.e. I,O,Q,S,X,Z. At the same time we have added Revision attribute and enabled RevisionPicker in New Part Creation Form, so that user can enter required revision manually . Also in preference settings we have set this preference Allow Override On Revise = yes so that user can give required revision while revise, e.g. bumping up revision skipping next available be default.


Due to these settings, system is allowing to create new parts with Revision which are defined as legacy=true. But we dont want system to allow to create parts with these values. Any suggestions how can we restrict legacy revisions for new parts.

Re: How to skip a task in a running process?

$
0
0

Hi John,

 

depending on the process, as an Administrator, if you open the running process from the Routing Status table, you should be able to select the running task on the workflow  and then use the buttons on the top to complete manually that task. It will reflect that an Administrator has completed it in the process status table.

 

Regards

Re: How to skip a task in a running process?

$
0
0

Thanks Iker.

 

It is ture that Admin can do that. Nevertheless, if the task cannot be completed due to a syntax error in it, how can we ignore that task and continue to the next one?

Re: How to skip a task in a running process?

$
0
0

If there is a dependency on the syntax for the task getting completed, then there is no possible way to skip it.  You must correct the syntax in the workflow process template, check it in, and then re-initiate the workflow process.  It will grab the latest iteration of the process template and then there will be no bug when it gets back to that task again.

Re: How to skip a task in a running process?

$
0
0

Thank you Ben,

 

Does this mean that the previous tasks need to be completed again?

 

Regards

John

Re: How to skip a task in a running process?

$
0
0

Yes, someone will need to click through the tasks again to bring the new workflow process instance up to the same place that the previous workflow failed.

Re: How to skip a task in a running process?


Re: General question in Case Branch (OIR)

$
0
0

Vasantha Kumar,

Essentially what you're saying is that you have 2 attributes and a sequence.  And you want the number of the object to be a concatenation of those 3 attributes.  Is that what you're asking?

 

I can't remember where I got this code from.  I think there is an article on it.  But I couldn't find it doing a quick search.  But I have a WTDocument OIR that will set the name as a concatenation based on 2 things:

  1. The selection of an attribute.
  2. Something hard coded.

 

  <AttrValue id="name" algorithm="com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator" ignore="false" force="false" final="false">    <Attr id="partQualGenPartNumber"/>    <Arg>: PART QUALIFICATION PROCESS</Arg>  </AttrValue>

 

So if you wanted to set the number of the object based on 2 attributes and a sequence, perhaps something like this would work?:

 

  <AttrValue id="name" algorithm="com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator" ignore="false" force="false" final="false">    <Attr id="customerNumberIBAinternalName"/>    <Attr id="productFamilyIBAinternalName"/>    <Attr id="runningNumber"/><Arg>{GEN:wt.enterprise.SequenceGenerator:YOUR_DATABASE_SEQUENCE:3:0}</Arg><AttrValue>

Re: General question in Case Branch (OIR)

$
0
0

Thanks for your valuable reply sir.

Will try and let you know if I face any difficulties.

Re: Report on WF Variables

$
0
0

Abhishek,

 

I thought there might be a way to access BLOB type data elements using a Java Method with QueryBuilder. I'd already found the reference you provide and that does not point directly at accessing the contents of the BLOB. Specifically I'm interested to access the RuleData for an LWCBASICCONSTRAINT e.g. legal list values from QueryBuilder using a Java Method. If you have a snippet of code along these lines I would very much appreciate being able to reference it.

 

Regards,

 

Greg Montgomery

Re: Does anyone have examples of Related Object report templates to be used fro related object search in WC 11?

$
0
0

John - I have a few - when I get back to my laptop I can send them

Re: How can I get the user that approve a promotion request using alias attributes?

How to get exported Alternate part inside the main part created in PTC Windchill 11?

$
0
0

Hello Guys,

 

I am working in one PLM system for PTC Windchill 11. Here i am going through one issue that created alternate part from main part doesn't getting exported to my PLM System.

How do i get it? Kindly help me out here.

 

Thanks,

Sunil

Re: General question in Case Branch (OIR)

$
0
0

Hello Sir,

 

It still doesn't take up the second value.

The original OIR I created was,

(Single attribute)

<AttrValue id="number" algorithm="com.ptc.windchill.enterprise.revisionControlled.server.impl.NumberGenerator" ignore="false" force="false" final="false">

                  <Value algorithm="wt.rule.algorithm.CaseBranch">

                          <Value algorithm="wt.rule.algorithm.StringEqualsTest">

                                  <Attr id="Customer"/>

                                  <Arg>******</Arg>  

                          </Value>

                                   <Arg>001</Arg>

                          <Value algorithm="wt.rule.algorithm.StringEqualsTest">

                                  <Attr id="Customer"/>

                                  <Arg>******</Arg>  

                          </Value>

                                  <Arg>002</Arg>

                          <Value algorithm="wt.rule.algorithm.StringEqualsTest">

                                   <Attr id="Customer"/>

                                  <Arg>******</Arg>  

                          </Value>

                                  <Arg>003</Arg>

                          <Value algorithm="wt.rule.algorithm.StringEqualsTest">

                                  <Attr id="Customer"/>

                                  <Arg>*****</Arg>   

                     

                          </Value>

                     <!-- ***** is the customer name-->

                  </Value>
                  <Arg>{GEN:wt.enterprise.SequenceGenerator:test:3:0}</Arg>

               </AttrValue>

The above OIR works for single attribute alone.

 

When I try to concatenate two attributes, it still takes up the first attribute and doesn't take the value of second one.


Re: Windchill 10.1 installation

$
0
0

Hi Alexandru,

 

could you writte me if you have solved this issue. It seems that I have the same one.

 

Thank you

David

Re: Windchill 10.1 installation

$
0
0

Hi David,

 

Did you try the suggestions that Kumar mentioned? (no spaces in folder names)

For me this and restarting the installation did the trick.

 

Alex

Re: how to restrict legacy revisions for new part creation

$
0
0

I remember running this to the same issue and PTC mentioned that it is an expected behaviour. The only way to get around this is by adding a customization, like a validator

How to print environmental variables in the method server log during startup?

$
0
0

How to print environmental variables or customized messages in the method server log during startup?

Re: Does anyone have examples of Related Object report templates to be used fro related object search in WC 11?

Viewing all 8876 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>