PLM 360 IdeaStation
Share your wish list directly with the Autodesk PLM 360 Development Team
New Idea
0 Kudos
spiazza78

Robot Step in a Workflow

Status: Comments Requested
by spiazza78 on ‎08-20-2014 03:56 AM

hello,

 

as sometimes we have to have the Workflow Transition to be finished before being able to "play" with item created within Action Script (Add item to BOM etc...), could it be possible to have some step that are acting as robot... it means that it should launch a scipt when this "robot" script is reached...

 

in case of failure, we can either cancel previous Transition or if successfull, force next Transition to go to the next "manual" Step...

 

Best regards

0 Kudos

Hi,

 

Currently only way to create a script is through UI in PLM360. Even though these scripts reside with PLM tenants they will change over a period of time and have to be moved from one tenant to another(for e.g. Development to Test to Production).

Following are few suggesstions which can reduce human errors:

 

1) Provide ability to Export and Import Scripts. This provides users a chance to version control their scripts.

2) It would be even better if PLM360 provides a built in version control, where users can revise and activate scripts, compare two versions of scripts but this may be too much to ask for as all these can be accomplished via version control tool.

 

Regards,

Ravi Dalli

Status: Duplicate
Ability to import & export javascripts from a PLM tenant - 03/31/2014
11 Kudos
piggeej

More robust editor for Advance Print View

Status: Accepted
by Product Support on ‎04-17-2014 09:53 AM

It would be great and useful to have a more robust Advance Print view edtior, that included Tabs for full html editing, along with an attached CSS editor.

 

Example:

Tab one: current editor with ablity to add elements 

Tab two: Full html editor

Tab three: CSS editor

Tab four: Preview of edits not based on dmsID for layout views (color background etc...)

Status: Accepted
Hi piggeej, We appreciate you submitting your ideas and suggestions to us. We will add this to our feature list. Thank you, Trung
6 Kudos

We need the ability to import and export javascripts (condition, validation, library etc.) directly from a PLM tenant instead of copying it manually into a notepad.

 

This is a good feature and will be helpful in deploying codes in multiple environments.

 

Also a revision control (software configuration management) on these javascript will be a great addition.

 

Thanks,

 

Deepak

Status: Accepted
2 Kudos

I feel we need a lookup function in the scripting functions

 

The basic Idea would be to duplicate the current function for linked picklists and leverage the benifits of derived fields and filtered picklists.

 

The script function would simply return a dmsid's or null and be able to search a specified workspace for records that match specified field/values. The return could be an array of the dmsid that could be utilized to then load the found dmsid for use in scripting access to that record for adding or extracting information.

 

Example:

 

Workspace A = tasks with two fields to identify that record: Project# (Linked Picklist) and Task ID, A third field Task Type, UDP of values (type a, type b etc.)

 

On Workspace B you have two filtered picklists based on Workspace A (you could use Pre-Filter on the Picklist to restrict by Type).

 

Use the values selected in the filtered picklist fields in a script lookup function that returns all matching dmsID from WS-A.

 

Using looping & load item you can then process those id's to add or extract info.

 

There have been several support forum discussions on this subject and thought it needed to be added to the Idea Station. Help this along by giving Kudos.

 

Support forum discussions:

 

http://forums.autodesk.com/t5/PLM-360-General/Script-for-iterating-through-all-items-in-a-workspace/...

http://forums.autodesk.com/t5/PLM-360-General/Getting-Source-Record-info-from-Filtered-Picklist-fiel...

http://forums.autodesk.com/t5/PLM-360-General/Filtered-Picklist-Scripting-Access-No-longer-available...

 

 

Thanks

 

Bob Donovan

Bigge Power Contructors

 

 

Status: Future Consideration
Hi Bob, We appreciate your ideas and inputs. We will add this to our future enhancement list. Thanks, Trung
1 Kudo

Hi,

 

because of lack abilities in REST API it would be nice to execute script through REST API.

 

Algorithm:

1. Administrator creates actions script.

2. User logins to PLM360 with REST API.

3. Code of integration tool sends command to PLM360. For example, "ExecuteScript". Additionally can be defined ItemID, WorkspaceID, etc as arguments of function.

 

Currently, the workaround I will use is execution of script on create or update events of item.

 

Best regards, Vladimir

Status: Future Consideration
Hi Vladimir, We appreciate you submitting this request. We will add this to our future enhancement list. Thank you, Trung
0 Kudos
vmoyseenko

Item should have hidden fields

Status: Accepted
by vmoyseenko on ‎03-02-2014 12:30 PM

Hi.

 

Item should have hidden fields.

 

User mustn't see content of this type fields. It will be used for development purposes by scripting or REST API.

 

Currently I can't see ability to hide field and get its content by REST API v2.

 

Best regards, Vladimir

Status: Accepted
Hi Vladimir, Please let us know if this works for you. thanks, Trung
1 Kudo

It could be very handy if condition and validation scripts could take a argument.

 

It could cut down on the number of scripts needed.

 

For example:

A GenAccept script could be reused on both an Accept and Reject action if it could take a bool argument.

 

GenAccept(true)

GenAccept(false)  (negate output)

 

Allowing it to take an integer would make it even more flexible.

Status: Comments Requested

Hello plmadmin,

 

I’m not sure I fully understand this request to have condition and validation scripts accept arguments.  Condition and Validation scripts currently get predefined parameters such as dmsID, userID, transID, and customTransID.  In addition, Library scripts can be imported into a Condition or Validation script that allows reuse functions (which include parameters) across many scripts.

 

In your example of GenAccept(true/false) for a Validation script, a Library script could be created to return an empty list or a list that could contain a canned error message:

 

Library Script:  GenAccept

 

function genAccept(hasValidationError){

                var messages = [];
                if(hasValidationError === true){
                                messages.push(Canned error message here');
                }
                return(messages);
}

 

Validation Script:  testMyValues     Import:  GenAccept

returnValue(genAccept( item.SOMEFIELD === null ));

 

In this case, the generic function (genAccept()) can be used to provide a canned message as the returnValue for one or many validation upon the condition that results in true/false.  This behavior is standard in PLM 360’s scripting engine. 

 

Is this helpful, or have I missed the point of the enhancement you’re requesting?

 

Thanks,

 

-Jared  

1 Kudo

Hi,

 

It would be great to have an admin permission that allows users to edit fields that are set as 'non editable' in the field definition. It is very time consuming when testing to have to navigate to the workspace manager and change the field properties. It would also be a useful feature to have as an administrator to make changes and corrections easily.

 

David.

Status: Future Consideration
Hi dkeeley, We will take your suggestion and request into consideration and add to our future enhancement list. thank you, Trung
0 Kudos

It seems useful (to me) to be able to control section expand/collapse within a script. Tying that to workflow steps - expanding / collapsing as I move through the stages of a workflow - would be able to expedite actions and focus users.

 

 

Status: Comments Requested
Hi Bill, This is a good idea. I have seen many requests for this feature. I will add this to our enhancement list. Keep sending great ideas!!!
Submit Your Ideas

Share and shape product ideas.

New Idea
You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
IdeaStation Guidelines
Review guidelines and best practices
before posting a new idea


PLM 360 Survey