Workflow Assignment - provide 2 assignments based on property
I have a workflow map defined with several activities. And I have an itemtype "XYZ" where on the item form I have an boolean property "ABC". Condition is, if the ABC property on the item form is check marked then the 2 activities on the workflow map should be assigned to "Engineering" identity to perform Vote Now action. If not (uncheked) then it should be assigned to the one which is defined in the workflow map assignment identity. Please provide solution for this.0Views0likes1CommentUpdating user role
HI, I tried to give some role like config management, component engineer, change specialist II role to user. But the part creation and Product creation feature is not getting activated. Is there any wait time it takes for the role to get updated or something? It doesnt seem to updating the roles as per selection. Regards, Bejoy Thomas0Views0likes6CommentsChange permission for "view item" option(right click menu) of Documents under Operations
Under Process Plan(mpp_processPlans) --> Operations(mpp_operations) --> documents Some of these documents under an operation are "invalidated". The documents are assigned "invalidated" status from Document-->Part when the "valid" option is changed to "No"(screenshot below). The user has the ability to right click on the any of the documents and select "view item" (picture below) to open the document container (screenshot below). I need this "view item" functionality to work for a certain identity when the document is "invalid" Currently, if the document is "invalid" user can't open it from here but the document opens if one searched for it manually. I can't figure out where does this "view item" option come from and where and how was this right-click menu even generated. Can someone point me in the right direction, please. Thanks!0Views0likes2CommentsCode Snippet: Generic, Reusable Code to Get All Identities In a Group
Hello everyone, Here is a code snippet to retrieve all identities in a identity (group) recursively. As I faced this requirement multiple times, and Innovator not having a standard function for it, I decided to create it myself. [embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:609a024f-f7a3-41b9-8f03-c991fd46edd3:type=csharp&text=%2F%2F%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%0A%2F%2F%20%5BAUTHOR%5D%3A%20SOFTWERK%3A%20D.%20Theoden%0A%2F%2F%20%5BCREATED%20ON%5D%3A%202024-01-18%0A%2F%2F%20%5BMETHOD%5D%3A%20aer_get_identities_in_group.cs%0A%2F%2F%20---------------------------------------------------------------------------------------%0A%2F%2F%20%5BDESCRIPTION%5D%3A%0A%2F%2F%20Generic%2C%20reusable%20code%20to%20get%20all%20users%20in%20a%20group.%20Implements%20trick%20to%20use%20functions%0A%2F%2F%20inside%20Aras%20Innovator%20server%20methods.%0A%2F%2F%20---------------------------------------------------------------------------------------%0A%2F%2F%20%5BCHANGES%5D%3A%0A%2F%2F%20REF%20NO%20%20%20%20%20%20%20DATE%20%20%20%20%20%20%20%20%20%20%20%20WHO%20%20%20%20%20%20%20%20%20%20%20%20%20DETAIL%0A%2F%2F%20%23001%20%20%20%20%20%20%20%20%202024-01-22%20%20%20%20%20%20D.%20Theoden%20%20%20%20%20%20Initial%20version.%0A%2F%2F%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%0A%0A%2F%2F%20Define%20parameters%0AItem%20item%20%3D%20this%3B%0AInnovator%20inn%20%3D%20item.getInnovator%28%29%3B%0AList%3Cstring%3E%20userIdentities%20%3D%20new%20List%3Cstring%3E%28%29%3B%0A%0AItem%20initialIdentity%20%3D%20inn.getItemById%28%22Identity%22%2C%20%22804E11705E1D4E98AEBBDB8E9AFC0B7C%22%29%3B%20%2F%2F%20Your%20existing%20logic%20to%20get%20a%20%28group%29%20identity%0AProcessIdentity%28initialIdentity%2C%20inn%2C%20userIdentities%29%3B%0A%0A%2F%2F%20Rest%20of%20your%20logic%20here.%20All%20recursively%20found%20identities%20are%20now%20stored%20in%20userIdentites%20array.%20%0Areturn%20this%3B%0A%0A%7D%20%2F%2F%20Allow%20functions%20in%20server%20methods%20Part%20A%3A%20extra%20curly%20brace.%20This%20is%20NOT%20a%20mistake.%0A%0A%2F%2F%20Function%20to%20recursively%20process%20identities%20and%20add%20unique%20users%20to%20the%20list%0Avoid%20ProcessIdentity%28Item%20identity%2C%20Innovator%20inn%2C%20List%3Cstring%3E%20userIdentities%29%20%7B%0A%20%20%20%20if%20%28identity.getProperty%28%22is_alias%22%2C%20%22%22%29%20%3D%3D%20%221%22%29%20%7B%0A%20%20%20%20%20%20%20%20%2F%2F%20Add%20user%20identity%20if%20it%27s%20unique%0A%20%20%20%20%20%20%20%20string%20userId%20%3D%20identity.getID%28%29%3B%0A%20%20%20%20%20%20%20%20if%20%28%21userIdentities.Contains%28userId%29%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20userIdentities.Add%28userId%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20else%20%7B%0A%20%20%20%20%20%20%20%20%2F%2F%20Process%20group%20members%0A%20%20%20%20%20%20%20%20Item%20groupMembers%20%3D%20inn.applyAML%28%22%3CAML%3E%3CItem%20type%3D%27Member%27%20action%3D%27get%27%20select%3D%27related_id%27%3E%3Crelated_id%3E%3CItem%20type%3D%27Identity%27%20action%3D%27get%27%3E%3C%2FItem%3E%3C%2Frelated_id%3E%3Csource_id%3E%22%20%2B%20identity.getID%28%29%20%2B%20%22%3C%2Fsource_id%3E%3C%2FItem%3E%3C%2FAML%3E%22%29%3B%0A%20%20%20%20%20%20%20%20int%20memberCount%20%3D%20groupMembers.getItemCount%28%29%3B%0A%20%20%20%20%20%20%20%20for%20%28int%20j%20%3D%200%3B%20j%20%3C%20memberCount%3B%20j%2B%2B%29%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20Item%20member%20%3D%20groupMembers.getItemByIndex%28j%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20Item%20memberIdentity%20%3D%20member.getRelatedItem%28%29%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20ProcessIdentity%28memberIdentity%2C%20inn%2C%20userIdentities%29%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%7D%0A%0A%2F%2F%20Any%20more%20functions%20of%20your%20own...%0A%0Avoid%20enableFunctionsInMethods%28%29%20%7B%20%2F%2F%20Allow%20functions%20in%20server%20methods%20Part%20B%3A%20opening%20dummy%20method.%20This%20is%20NOT%20a%20mistake.] I hope this saves you some time too. All the best from Almelo. Daan0Views2likes0CommentsCalling SearchDialog from Server method
Hi, Is it possible to show SearchDialog from a Server method? I can use MaximazableDialog in Javascript to show the SearchDialog and get the response in callback. But I want to use such facility in a Server method. In my particular case, I am trying to send email using a server method. If the Recipent is already entered then it sends the email. But I want to prompt the user to search for another user item when Recipient is not pre-defined. If that is not possible then any alternative suggestions will be appreciated. Kind Regards, Vikas765Views0likes3CommentsHow to use GrantIdentity ?
Hi, On ARAS R12, in server methods, I needed to grant temporary some rights. For that, I did something like this: [embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:72a39175-e3c1-4aa3-9737-c3edc266744d:type=csharp&text=var%20myidentity%20%3D%20Aras.Server.Security.Identity.GetByName%28%22My%20Identity%22%29%3B%0D%0Abool%20PermissionWasSet%20%3D%20Aras.Server.Security.Permissions.GrantIdentity%28%29%3B%0D%0A%0D%0Atry%20%7B%0D%0A%09%2F%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2AYOUR%20SPECIAL%20CODE%20HERE%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2F%0D%0Afinally%0D%0A%7B%0D%0A%20%20%20%20if%20%28PermissionWasSet%29%20Aras.Server.Security.Permissions.RevokeIdentity%28myidentity%29%3B%0D%0A%7D] Due to deprecated API, on ARAS R19, I need to use CCO.Permissions.GrantIdentity but this method doesn't return a boolean to know if the identity has been granted or not. How should I do ? When and how to do the RevokeIdentity ? Is this enough ? [embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:fe51a9bf-6590-497f-ada6-3812e157228b:type=csharp&text=using%20%28CCO.Permissions.GrantIdentity%28Aras.Server.Security.Identity.GetByName%28%22My%20Identity%22%29%29%29%0D%0A%7B%0D%0A%09%2F%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2AYOUR%20SPECIAL%20CODE%20HERE%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2A%2F%0D%0A%7D] Thank you in advance for your answer.1.5KViews0likes4CommentsAdd User Identity
Good day all. We have created an Identity called sm_AddUsers (v11 SP10). We have a separate team that is taking over the responsibilities of adding users to the system and they do not require any other elevated privileges, so I don't want to add them to the Administrators Identity. I can't seem to get this Identity setup correctly with permissions to be able to add users. The current error they receive is Add access is denied for Alias. Aras.Server.Core.PermissionsNoCanAddFoundException I went through User, Alias, Identity, and Member ItemTypes and made sure the Identity was in Can Add and the permissions where set the same as the Administrators (except User, they cannot delete). I'm at a loss for why this is happening. Is there something else that affects who can add a User? Thank you for your help.Solved4.5KViews0likes2CommentsAuth in Aras 12
Hello guys We have an mvc C# app and we use IOM to connect to aras. Has anyone tried the "old" way connecting via var conn = IomFactory.CreateWinAuthHttpServerConnection(url, db); and got it successfully working on production environment? It's not working for me the impersonation does not work. The app cannot log in, but if im in my dev environment using IIS express everything is fine user is found and logs in. Best regards9.5KViews0likes10CommentsIdentities Display hierarchy
Dear All, I am new to ARAS and trying to learn the application. I was able to install ARAS with the help of documentation and this site and get going. I created an Identity for a fiction Organization - ACME. I created 2 Identity ENGINEERING and MFG and made these member of ACME. Now I created an User and added the user as a member of ENGINEERING Identity. Is there a way I can look at this structure hierarchy. ie, ACME=>ENGINEERING->User in the Interface. If I login as user, Where I find that I belong to ENGINEERING and Its parent ACME. Thanks , Priya4.2KViews0likes2CommentsCreate User When Identity Exists?
Good day all. I am running into a problem when trying to create a User. I have an Identity that is used during Lifecycle Released state for documents. I would like this Identity to send an e-mail to a specific account. I figured that I would create a User to add the e-mail to, but when I create the User I receive a message stating that I can't because the Identity already exists. How can I fix this issue? Also, how can I associate the two? Thank you for the help.6.7KViews0likes4Comments