• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups
    0 Kudos
    obourne

    Spawning Links Should be Bidirectional

    Status: Implemented
    by Valued Contributor obourne ‎08-20-2012 03:27 PM - edited ‎08-20-2012 03:28 PM

    When an item is spawned by a workflow there is an option to link link to the spawned item to the "spawned by" item. There should be an option in the spawing item to automatically link to the item it spawned. I know this can be done with abit of scripting but I think it really should just be a check box/option.

    Status: Implemented
    Comments
    by Employee broepke on ‎08-20-2012 07:53 PM

    Greetings,

     

    The ability to do this has been implemented in a recent release. You can now return via the spawing script function. Please see below. You can see a script example here:

     

    http://wikihelp.autodesk.com/PLM_360/enu/Help/Help/0079-Develope79/0080-Server-S80/0088-Scriptin88 

     

    Create New Change Order and Set Up Lookup From Spawning Change Request

     

    Create New Change Order and Set Up Lookup From Spawning Change Request

    Creates a new item in the Change Orders workspace and sets the value of a "Spawned Change Order" field (SPAWNED_CO) in the associated Change Request item to the new Change Order. You would typically trigger this script after successful transitioning of the associated Change Order to the "Approved" workflow state.

     

    newCO = createItem('WS_CHANGE_ORDERS');
    newCO.TITLE = 'Release XYZ';
    newCO.TYPE = '1 - Engineering';
    newCO.URGENCY = '2 - Medium';
    
    item.SPAWNED_CO = newCO;

    Let us know if you need help!

    by Valued Contributor obourne on ‎08-21-2012 02:41 PM

    Good to know. Thanks.

    by Employee jared.sund on ‎04-08-2013 10:58 PM
    Status changed to: Implemented
     
    Announcements
    IdeaStation Guidelines
    Review guidelines and best practices
    before posting a new idea


    PLM 360 Survey