you need to use the enumcustomize Windchill shell utility. Navigate go %WT_HOME%\codebase\wt\lifecycle\StateRB.RB.ser --> select the Spain language and change it to the value you need. Save and close the utility.
Haven't yet played with it but suspect that the criteria PersistedCollectionLiveLink.roleBisSeed required to be true might be the key. Seems that this may be responsisble for filtering out to include only the initially selected objects.
Will play with this when I get time - interested in this report also in general.
As in Ben's example it uses com.ptc.core.lwc.server.PersistableAdapter. If you are using an version of Windchill older then 10.2 the API had a different name - it was LWCNormalizedObject
I created a Saved Search called 'Search by User' to helps me find what people have changed and then use the Modified By and Last Modified fields because that also includes objects Created By them. If needed, I would do a separate search to see if they have anything Check Out. You can add more or less Criteria as needed and leave them blank if they're not needed.
If you get real ambitious, Security Audit Reporting (see Site, Utilities, at the bottom) includes a lot more - including every Product / Library accessed, what files downloaded, etc. Just have to set each to TRUE in configaudit.xml.
Doesn't go in the logs that I know of. Populates a database table with "audit" in the name - forgot which one. Have to periodically purge (from the same area - Site, Util, Sec Audit Reporting.
- directly edit the text file (unusual - no xconf file involved); make a backup copy before editing just in case
- have to restart Windchill to make effective
- the lines in the file are not all that straight-forward to understand what they do; I would create a tech support case asking PTC exactly what lines to make from false to true to record the events of interest
Can see how many records are created every so often either by querying the database table directly or by starting to purge the records and then canceling
We have a set of WTPart part number. We are unable to load them in Windchill as it gives an error message of "Uniqueness"; neither we can find (search) them in Windchill, so that we can delete the set and reload them or modify them.
These WTPart part numbers were loaded in Windchill earlier as NLAG file type. Later the file try was changed to ZKIT file type. Once the file type was changed, the part numbers were vanished from the system. I am able to view the details through SQL query, but unable to locate them in Windchill and delete them.
Please confirm that your java code is placed in the Complete transition of your workflow task. Do you have a screenshot?
Below is an example from one of my workflows. This is actually a workflow that is routed on a WTDocument PBO. One of the next steps is a Set State robot. So I want to make sure the WTDocument PBO is checked in before completing the workflow task. That is what the code does. If the WTDocument is checked out, then when the user clicks on the Complete Task button, it will throw an error and the task cannot be completed until the document is checked in.
I'm sorry - I'm not aware of tutorial or documentation about creating external classes. I just kind of learned it on the fly. I'm sure there is something out there ... and perhaps someone in this community will reply and help us out right away.
Here are some very rough guidelines:
Create custom java code in <WT_HOME>/src/ext/MyCustomClass.java
Compile the custom code into <WT_HOME>/codebase/ext/MyCustomClass.class
In the MyCustomClass.java file, you'll have methods that can be called from the workflow. For example - ext.MyCustomClass.doSomething().
Thanks for the reply, I was able to figure out the cause. Although my code was present in the complete transition, I had checked the following under Execution Options: