Show form on promote
Hi, Usecase is as follows need to validate field on promote if case of failure need to popup form(existing) and capture user input. for validation, i tried with pre server method on lifecycle but popping up form not possible from server method. Is there a way to achieve this? Any suggestion/work around would really help ThanksSolved13KViews0likes8CommentsLifecycle/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.4KViews0likes7CommentsWorkflow and Lifecycle - restricting manual promotion of life cycle states.
Hi I have a workflow and lifecye defined for an item type. Say if the current workflow task is "start" - my life cycle of the item is promoted from "Draft" to "Active". However before voting the user is able to manually promote the lifecycle from draft to active. Is there any way to restrict the manual promotion of the item when workflow is involved. Any help would be greatly appreciated, thanks. [emoticon:c4563cd7d5574777a71c318021cbbcc8]Solved5.8KViews0likes1CommentPSW lifecycle state promotions
Hello, How is the lifecycle promotions for the part submission warrant set up out of the box? I can see that there's a "PPAP Lifecycle" r the PSW. Is it connected to any of the OOTB change management items or are you meant to manually promote the PSW? Are you meant to make your own workflow map for the PSW? It doesn't seem like I can promote it manually either. I'm using aras 11 sp12. Best Regards Rick5.3KViews0likes2CommentsAuto Workflow Assignment - Defined Identity in ECR Item
I have reviewed the 'Auto Workflow Assignment' lab. I wish to model the following scenario: 1. Add a mandatory 'ECR Coordinator' property to the ECR ItemType and ECR Form. The ECR creator selects the User that will coordinate the processing of the ECR. (Done) 2. Create a new ECR 'Workflow Map' that has the assignment of 'ECR Coordinator' at certain Activities. The 'ECR Coordinator' is an Identity with no members. (Done) 3. Create a new ECR, and the following occurs. (to be Done) 3.1 The OnActivate method determines the 'Get Controlled Item'. 3.2 The relationships are expanded from the 'Controlled Item' to find all the activities that have the 'ECR Coordinator' identity assigned. Workflow Process -> Workflow Process Activity -> Activity -> Activity Assignment -> Identity 3.3 For each 'Activity Assignment' relationship that has the 'ECR Coordinator' identity assigned either (a) Change the related_id from 'ECR Coordinator' to the user assigned as the ECR Coordinator from the ECR item or (b) Create a new 'Activity Assignment' relationship between the Activity and the 'ECR Coordinator' user. Then delete the existing 'Activity Assignment' relationship that has the related_id of 'ECR Coordinator'. 4. The Workflow Process continues, with the 'ECR Coordinator' being given tasks, and email notifications.4.9KViews0likes2CommentsReturn error at LifeCycle Transition Pre Server method
Hello community, I attached a server method at LifeCycle Transition - Pre Server method. That method will check some condition. and return error item if the condition is not satisfied. My code is like the following. Innovator myInnovator = this.getInnovator(); if(){ // do something } else { return myInnovator.newError("some error message"); } When the condition is not satisfied. It show error and does not promote to next LifeCycle state. But error message is not appeared when displaying the error. (as in attached screenshot) https://drive.google.com/open?id=0Byt-71Uyap_8c2JzSzJXN0sxNHc Plz. give me some suggestion. how to get error message appear on the error dialog. Thanks in advance.4.9KViews0likes5CommentsLifeCycle 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.5KViews0likes2CommentsHow 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.1KViews0likes3Comments