Absent Member.. Alankrita Absent Member..
Absent Member..
538 views

error while updating a field in SM using OO

Hi All,

 

I have HP OO 9.05 and SM 9.32 installed in my enviornment.

While trying to update sm change ticket field using OO flow im getting the below error

 

</ns0:HelpDesk_Submit_ServiceResponse></soapenv:Body></soapenv:Envelope>" (pm.check.assign,select.0)Invalid syntax for query. Failed parsing (pm.check.assign,select.0)Unrecoverable error in application: pm.check.assign on panel select.0Unrecoverable error in application: im.save on panel pm.validateUnrecoverable error in application: se.call.process on panel call.rad.1;}

 

Do anyone know how to solve this issue?

Labels (1)
0 Likes
3 Replies
Absent Member.. Sussan_Z_OO Absent Member..
Absent Member..

Re: error while updating a field in SM using OO

Hello Alankrita,

I hope you are great today.

 

Regarding your question I have consulted with the Team SM and this seems to be a problem on the side of SM, please open a ticket with them and you can ask in the forum of SM.

 

Thanks advance.

sussan Z.A

 

 

“Regards,
If you find this or any post useful to resolve the issue, please mark this thread as correct answer and other members can benefit with the information given
Sussan Zamora
SW Support Technical Consultant
San Jose, Costa Rica
hpe.com
Hewlett Packard Enterprise “
0 Likes
Trusted Contributor.. Nagarjun1992 Trusted Contributor..
Trusted Contributor..

Re: error while updating a field in SM using OO

Hi,

I wrote a script to perform Escalation from script. Please find my script below. I am able to create Incident and it adds SC releate record. But I am geeting following error.

Invalid syntax for query. Failed parsing (display,process.option)
name="[C++ object Datum] - {"BBS_DE_SD_Trans_to_Atos_W_M"}" (display,process.option)
Invalid syntax for query. Failed parsing (apm.fetch.operators,select)
name=" (apm.fetch.operators,select)
Invalid syntax for query. Failed parsing (display,process.option)
name="[C++ object Datum] - {"BBS_DE_SD_Trans_to_Atos_W_M"}" (display,process.option)
unable to convert key to datum in searchCondition() (se.get.record,get.record)
Invalid syntax for query. Failed parsing (display,process.option)
name="[C++ object Datum] - {"BBS_DE_SD_Trans_to_Atos_W_M"}" (display,process.option)
Unrecoverable error in application: se.call.process on panel call.rad.1
Unrecoverable error in application: im.save.problem on panel validate
Unrecoverable error in application: pm.check.assign on panel select.0
Invalid syntax for query. Failed parsing (pm.check.assign,select.0)
name=" (pm.check.assign,select.0)
SD0003905006
Incident has been logged...
SC Record Added
SC Record Added
IM0004912002

 

function escalated(numbers)
{
var Incident=new SCFile("probsummary");
var inte=new SCFile("incidents");
var relint=new SCFile("screlation");
//var num = number;
var query = "incident.id=\""+numbers+"\"";
var qr = inte.doSelect(query);

//inte=system.vars.$L_file;

if(qr == RC_SUCCESS)
{

Incident.assignment=inte.assignment;
Incident.affected_item=inte.affected_item;
Incident.brief_description=inte.title;
Incident.action=inte.description;
Incident.category=inte.category;
Incident.contact_name=inte.callback_contact;
Incident_bay_service_recipient_name=inte.contact_name;
//Incident.contact_name="ETIGQ";
//Incident.bay_service_recipient_name="ETIGQ";
Incident.subcategory=inte.subcategory;
Incident.product_type=inte.product_type;
Incident.problem_type=inte.problem_type;
Incident.initial_impact=inte.initial_impact;
Incident.severity=inte.severity;
Incident.location=inte.location;
Incident.dept=inte.dept;
Incident.contact_name=inte.contact_name;
Incident.location=inte.location;
Incident.folder=inte.folder;
Incident.incident_id=inte.incident_id;
Incident.logical_name=inte.logical_name;
var result= Incident.doAction("add");
var result= Incident.doInsert();
var d = new XMLDate( new Date() );
if(result == RC_SUCCESS)
{
print(Incident.number);
//Incident.doUpdate();
relint.source=inte.incident_id;
relint.source_filename="incidents";
relint.depend=Incident.number;
relint.depend_filename="problem";
relint.source_active=true;
relint.depend_active=true;
relint.sysmoduser="falcon";
relint.sysmodtime=d;
relint.type="Related Incidents";
print("SC Record Added");

var rc = relint.doInsert();


if(rc==RC_SUCCESS)
{
print("SC Record Added");
print("Incident has been logged...");
//return result;
}
}
}
else
{
print("Error...");
//return "Error";
}
}

//escalated(SD0004672256);

0 Likes
Valued Contributor.. caglarcankaya Valued Contributor..
Valued Contributor..

Re: error while updating a field in SM using OO

Hi everyone,

Could you find any reason or solution about this problem;

Invalid syntax for query. Failed parsing (apm.fetch.operators,select)
name=" (apm.fetch.operators,select)

(In version 9.51.0015)

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.