Need Guidance: Prevent On Close Server Event to get called when there is Error (when voting) and the CM Activity is not Closed?
Hello All, I'm creating a server-side method that sends an email to the Change Leader. It gets invoked "on close" in association with a Change Management workflow activity. The email should be sent only when the activity is closed, and the workflow progresses to the next activity. However, if the user votes on the activity while there are missing affected files related to the Change Management, an error message is displayed stating "The New Number field is required when Action is set to 'Add'." I want to find a way to prevent the email from being sent when such and similar errors exist. I tried to use activity.getProperty("state", ""); to check if the state of the activity changes from Active to Closed. However, this property does not update (when the method is invoked) while the mentioned error exists or not. Currently, I'm thinking of a way to access this error message content from my method and act accordingly. I tried isError() and it gives 0 (no error), getErrorString() and getErrorDetails() return an empty string. I would appreciate it a lot if someone can help me with it. Best Regards, abduSolved0Views0likes1CommentError (SOAP) Messages
Good day all. Since I have inherited the database from another contractor, I am not sure what is normal and what is unique to my system. The error (SOAP) messages do not seem to be useful. I have been trying to create an e-mail message that will pull the request information and put it in the body. I used the Configuring Aras Innovator Email Notifications from the community blog, but I keep receiving an error. The message is of no help, other than there is an error. It doesn't mention what the problem is, or I don't know how to read this. I tried going to the Aras link, but I receive a Page Not Found error. Any help in understanding this would be great. Thank you. <SOAP-ENV:Envelope xmlns:SOAP-ENV="">schemas.xmlsoap.org/.../"> <SOAP-ENV:Body> <SOAP-ENV:Fault xmlns:af="">www.aras.com/InnovatorFault"> <faultcode>SOAP-ENV:Server</faultcode> <faultstring> <![CDATA[Conversion from type 'DBNull' to type 'String' is not valid.]]> </faultstring> <detail> <af:legacy_detail> <![CDATA[Conversion from type 'DBNull' to type 'String' is not valid.]]> </af:legacy_detail> <af:exception message="Conversion from type 'DBNull' to type 'String' is not valid." type="System.InvalidCastException"/> </detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>3.9KViews0likes2CommentsUX - Secondary Nav - Goto Form(s)
I want to get this View/Form(s) data from the SOAP response that happens between the selection of an ItemType and the building of that IT's Secondary Nav. I then want to use my new friend, aras.uiShowItem("Form", the_form_id) to go straight to the related form(s) for an Item Type. This is another (especially administrative) convenience I'd like to implement for smooth sailing.4.3KViews0likes2CommentsorderBy itemtype properties with pagination
Hello community, I am facing a new challenge, I need to sort the answer of a SOAP request but since I have an itemtype property, I only figure to sort on the id of the itemtype used in the property and not on the name of the instances... Datamodel : - I have an item bug - this item has a property "criticality" that is an itemtype property linked to 4 items with a property _name and values K1,K2,K3 and K4 I would like to get a page of the first 100 issues over all sorted by ascending criticality thus K1,K2,K3,K4... <Item type='bug' select='_criticality' action='get' page='1' pagesize='25' orderBy='_criticality'> </Item> With that request I get a set of issues but sorted with the order K3 K1 K4 K2 since it's using the id of the property itemtype _criticality... I tried to orderBy _criticality._name and other stuff but it's not sorting at all... Thanks in advance, Hadrien1.8KViews0likes0CommentsUsing SOAP with Aras
Hi there, In Aras V11 I have played around with sending AML from VB for Applications to our Aras server. I am trying to do it without using the IOM.dll. I did manage to get it working, but now with our V12.0 installation the server is giving me the cold shoulder saying: "You do not have permission to view this directory or page." I am sending the SOAP to: "http://xxxxxxxxx/InnovatorServer/Server/InnovatorServer.aspx" The password is MD5 encoded. What could the reason be for this message? Kind regards RiaanSolved5.4KViews0likes2Comments