This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SUPPORT Q&A - ITIL Package does not Import

ajaywazir - Friday, July 11, 2008 7:18 AM:

Hi

I am not able to import  the Innovator Service Desk (ITIL) project which is meant for V8.2 into Innovator V 9.0.1.

Any Suggestions

Ajay Wazir

 



Bill - Friday, July 11, 2008 9:49 AM:

I haven't worked with this package myself, but I'd be happy to look at the error message.

Could you post the error from the log?

 -Bill



ajaywazir - Saturday, July 12, 2008 5:26 AM:

Hi Bill,

Sorry cannot seem to attach, paste or import a file.

Cannot even copy image either from MS Photo Editor or MS Word/.

   

Ajay

 



Bill - Monday, July 14, 2008 9:30 AM:

The log file itself is in a logs subfolder of the Import utility.  You can cut and paste the text of the error from there.

thomas.hedberg - Tuesday, July 15, 2008 5:20 PM:

We are having the same issue.  We can not import the ITIL into v9.0.1.  I have attached our import log below.  The error we receive is:

faultstring: Utilities: ApplyAML: TestStringWithRegExp(ctId, propName, propValue, re_StringPattern) has failed
faultdetail: The specified value (ITIL Post-Resolved(Implemented)) does not match the required name property pattern: ^w$|^w[w, -]*w$
faultcode:   23

 

Log File Below:
***********************

Processing (add)   id : 5612F91E3C574DC1A33CE68D0D72CF80    keyed_name : ITIL Post-Resolved(Implemented)    type : Method 
********** Start of reference checking ************
checking for Bad property
<AML><Item type='ItemType' action='get' select='id'><name>Method</name><Relationships><Item type='Property' action='get' select='name'/><Item type='RelationshipType' action='get' select='name'/></Relationships></Item></AML>
  was obtained from cache
************* End of reference checking ************
     ****Error message****
faultstring: Utilities: ApplyAML: TestStringWithRegExp(ctId, propName, propValue, re_StringPattern) has failed
faultdetail: The specified value (ITIL Post-Resolved(Implemented)) does not match the required name property pattern: ^w$|^w[w, -]*w$
faultcode:   23
faultAMLError:
<AML><Item type="Method" id="5612F91E3C574DC1A33CE68D0D72CF80" action="add" doGetItem="0"><comments>Pre-Transition to Resolved (ITIL Incident and ITIL Problem) and Implemented (ITIL Change) method</comments><method_code><![CDATA[// Called Post-Transition to Resolved (ITIL Incident and ITIL Problem)
// and Implemented (ITIL Change). Sets closed date and sends survey e-mail.
Innovator inn = this.getInnovator();
Item q = inn.newItem("tmp", "tmp");
q.loadAML(this.node.OuterXml);

Item res = null;
string typeName = this.getType();

q.setAttribute("action", "ITIL Set Closed Date");
res = q.apply();
if (res != null && res.isError()) return res;

q.setAttribute("action", "ITIL Send Survey EMail");
res = q.apply();
if (res != null && res.isError()) return res;

return res;
]]></method_code><method_type>C#</method_type><name>ITIL Post-Resolved(Implemented)</name></Item></AML>
     **********************



Bill - Tuesday, July 15, 2008 5:35 PM:

The error is in this line:

faultdetail: The specified value (ITIL Post-Resolved(Implemented)) does not match the required name property pattern: ^w$|^w[w, -]*w$

It says that the value "ITIL Post-Resolved(Implemented)" does not match the pattern ^w$|^w[w, -]*w$

This pattern does not allow parenthesis in the name of the method.  This pattern restriction is new for Aras Innovator 9.0.1, and was not there in Aras Innovator 8.2.0 which the ITIL community solution was designed for.

You will need to edit the ITIL solutions import AML package and remove the parenthesis from the Method name.

<name>ITIL Post-Resolved(Implemented)</name>

becomes

<name>ITIL Post-Resolved Implemented</name>

-Bill