Creating new items via aras.uiShowItemEx doesn´t add LifeCycle data especially for versioned ItemTypes. How to fix?
Hi community, I have a couple of ItemTypes with a custom LifeCycle. Sometimes when users promote an item to change the "state", the Form will not be updated and will not show the updated data. In this case users always had to click the refresh button to see the updated state. So the basic situation is something like this: I discovered that the Form update mainly fails when the item was created via a custom client Method. AND: In addition it only fails if the target ItemType is versionable. Here are some simple steps to reproduce the scenario. Let´s assume we have following code that we can directly execute from a client Method: [embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:19604769-ada7-4f06-92ad-60eb8ae9dadd:type=text&text=const%20newItem%20%3D%20aras.newItem%28%22Manufacturer%22%2C%22add%22%29%3B%0Aaras.uiShowItemEx%28newItem%2C%20%22tab%20view%22%29%3B] The code will add a new item and opens it in a new tab. User than can save the item and promote it to another state. - If the ItemType is something like Manufacturer, Form update will work after item promotion. - If the ItemType is versionable like Part or Document the Form update will NOT work. I checked the context item that is used for promotion. I noticed that for versionable items the LifeCycle data is not included in the context item when we come from a custom Method. When using promote, the context item should contain information about the used LifeCycle like this: But the life cycle State information is missing when promoting a versionable item that was created by Method I wonder if this is a bug in innovator or if I forgot something in my Method code. The update error does not occur for of items that were created via the regular "New item" button. I assume the missing LifeCycle data causes the problems with the Form update. Does anyone know how to improve this one? Thanks for any hint! AngelaSolved0Views0likes1CommentBringing items in through AML package as 'Released'
Hello all, I am working on importing custom itemtypes to load via AML package as part of new builds. Due to how a customized contextual window displays these items, I need the items to be in a 'Released' state when they are brought in. (The window will only display 'Released' items). However, I am having difficulties getting the items to be in a 'Released state' 1. I've tried adding a <state>Released</state> to each item being brought in 2. I've tried adding a postAMLpackagedeployment script that adds a <state>Released</state> to each item The catch is, I need the items to abide by its lifecycle/workflow normally when edited and the state returns to 'New'. Is this possible?0Views0likes3CommentsHow to get comment from LifeCycle promotion in Pre server method?
Hi all, I want to obtain user comment from Lifecycle promotion when user promotes item to next state. Idea is that Pre method on LifeCycle captures comment and if comment is empty, method prevents promotion. I would appriciate it if someone knows the answer. Thank you. Rok2.1KViews0likes3CommentsLifeCycle Get History Comment -> Can we retrieve the user input on runtime?
Hi Community, I have a short question regarding the 'Prompt History Comment' feature that we can use in LIfeCycles. When we choose "Get Comment = 1" for a LifeCycle Transition, the end user will be asked with a dialog to add some notes why the lifecycle was changed. This is for e.g. useful, when a LifeCycle was Cancelled and user can explain why they cancelled it. The comment than appears in the History of the item. When my LifeCycle is Cancelled, affected users will get informed by email. It would be helpful if the history comment would be included in the mails. Is it possible to pass the user input to an Email Message? Of course I could make a query for the new history entry, but I want to avoid query on the History, cause it´s quite performance consuming. Hope anyone has an idea! Thanks for any help! Angela2.9KViews0likes2CommentsWhat is the best way to validate whether an item has a parent?
I'm trying to send an email on promotion to "Released" of Parts when a couple of criteria are met, the parts being of a certain custom classification we've added, and them not being used in another BOM anywhere (i.e. they're top-level Parts being released). What's the best way to go about checking whether the part is a top-level part (i.e. doesn't have a parent)? I've tried isRoot(), getParentItem(), and getProperty("source_id"), but I'm either misusing those or for some reason they're not working for my case. This is what I have tried so far (this method is attached as a Post method to the lifecycle transitions to Released, and it is generating the emails, it's just not limiting it to only the times when it's a top-level BOM, like I want): [embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:c6adf788-e399-4db7-b63a-90e953d6ebf3:type=csharp&text=Innovator%20inn%20%3D%20this.getInnovator%28%29%3B%0D%0AItem%20myResult%3B%0D%0Aif%20%28this.getProperty%28%22classification%22%2C%20%22%22%29%20%3D%3D%20%22Hull%20Assembly%22%20%26%26%20this.isRoot%28%29%20%3D%3D%20true%29%0D%0A%7B%0D%0A%20%20%20%20%20%20%20%20%2F%2Femail%20code%0D%0A%7D%0D%0Areturn%20this%3B%0D%0A%0D%0A%0D%0A%2F%2For%0D%0A%0D%0A%0D%0AInnovator%20inn%20%3D%20this.getInnovator%28%29%3B%0D%0AItem%20myResult%3B%0D%0Aif%20%28this.getProperty%28%22classification%22%2C%20%22%22%29%20%3D%3D%20%22Hull%20Assembly%22%20%26%26%20this.getParentItem%28%29%20%3D%3D%20null%29%0D%0A%7B%0D%0A%20%20%20%20%20%20%20%20%2F%2Femail%20code%0D%0A%7D%0D%0Areturn%20this%3B%0D%0A%0D%0A%0D%0A%0D%0A%2F%2For%0D%0A%0D%0A%0D%0AInnovator%20inn%20%3D%20this.getInnovator%28%29%3B%0D%0AItem%20myResult%3B%0D%0Aif%20%28this.getProperty%28%22classification%22%2C%20%22%22%29%20%3D%3D%20%22Hull%20Assembly%22%20%26%26%20this.getProperty%28%22source_id%22%2C%20%22%22%29%20%3D%3D%20%22%22%29%0D%0A%7B%0D%0A%20%20%20%20%20%20%20%20%2F%2Femail%20code%0D%0A%7D%0D%0Areturn%20this%3B]Solved2.5KViews0likes2CommentsFind Associated Life Cycle
Good day all. How do I find the Life Cycle that is associated with an item? I have a lot of parts that are of ItemType s_Part. The Life Cycle associated to this ItemType is different than the one that is associated with a lot of these parts. I would like to know how to either change the associated Life Cycle or find the one that is associated with the part so I can edit that one. The Life Cycle that is associated to some of the parts only has Released and I need to add in other states if I cannot change the Life Cycle association. I tried to use the action getItemNextState, but that doesn't work when there is only one state in the Life Cycle. Thank you for any help that can be provided.Solved1.9KViews0likes1CommentLifecycle/Workflow Promotion Issue
Good day all. We are using v11 SP10. I have six DCNs (not OOTB) that were promoted to AUC from Final Review without one of the reviewers voting. According to the history, one of the reviewers promoted to the DCNs. I don't understand how this happened. The Lifecycle only has a single Transition from Final Review to AUC and the reviewer is not a member of the Identity (or any of the identities under it) assigned to the Role for the Transition. The Workflow has four assignments, three reviewers & our CM Identity. Tow of the reviewers have 33% voting weight & the third one (the one that did not vote) has 34%. The Activity Template for Final Review does not have a Role assigned & is Managed By the Workflow Owner Identity, which the reviewer is not a member of. What am I missing with this? Thanks for the help.Solved7.4KViews0likes7CommentsDefining a workflow process and map vs process plan
Hi If my understanding is correct. a lifecycle is the states an item (be it a part, equipment or document) goes through. The manufacturing process plan is the plan (list of operations and steps) required to realize a part or product. Then what is the workflow map, process, activity, assignment and task? And can a workflow process not be the same as a manufacturing process plan? Is there possibly a document that clearly defines these, their relation to one another and to which items they relate to (part, product, document etc.) Thanks5.2KViews0likes2CommentsManaging Machine and Process Lifecycles in Aras?
Hi all, Is it possible to manage machine/process lifecycles in Aras? From installation through qualification to maintenance and calibration etc. Essentially intersecting the product lifecycle at production. Any suggestions welcome. Thanks, Duncan4.4KViews0likes2CommentsMass Promote Issue
Hi , I have a Part Item type with the following Configuration for its Lifecycle: As seen , I want the Assembly and Material classification to have a different life cycle from the rest of the Parts. However when I try to mass Promote the items of either of the classification I am unable to do so. In the LC Map drop down If I select "Part" the mass promote functionality is working as expected. However if i select the second Lifecycle the "Target" field remains disabled. Has any one else faced the above issue, Am I missing any configuration , if not is there any work around for the same. Thanks.5KViews0likes2Comments