The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

create parent-child relation via sd_event

Highlighted
michael roitbur
Regular Collector

create parent-child relation via sd_event

Hi all,

i try to create a relation parent- children with the command line sd_event

i create a a mapping in the most case with working without problem and create the relation but in few case have problems

here are from the log error:

VALUE_LIST="username=script#password=12345678#mapping=SnmpC#className=Parent#modus=INSERT#SPa=MP000883#SCh=MP000887#"
SERVER=servicedesk
PORT=30980
SERVER_RESPONSE=ERROR: For ci component the following fields are required: CI Child,CI Parent.
LANGUAGE=GB
TRY=1
LOGFILE=C:\Progra~1\SNMPc\SrvDesk\sd_event_parent.log
ERROR_LOGFILE=C:\Progra~1\SNMPc\SrvDesk\sd_event_error_parent.log
TIMESTAMP= 8/28/2005 11:41:09
SEND=true

SPa = Serach parent ,
Sch = serach cildren ,

you can see that i give the numbers.


this is other error in same file

[EVENT_5152]
VALUE_LIST="username=script#password=12345678#mapping=SnmpC#className=Parent#modus=INSERT#SPa=MP000895#SCh=MP000898#"
SERVER=servicedesk
PORT=30980
SERVER_RESPONSE=ERROR: For ci component the following fields are required: ci child.
LANGUAGE=GB
TRY=1
LOGFILE=C:\Progra~1\SNMPc\SrvDesk\sd_event_parent.log
ERROR_LOGFILE=C:\Progra~1\SNMPc\SrvDesk\sd_event_error_parent.log
TIMESTAMP= 8/28/2005 11:41:14
SEND=true
thank you for the help
3 REPLIES
Gyula Matics_1
Honored Contributor

Re: create parent-child relation via sd_event

It could be that the parent or child CI is not found, because the search code you provided does not identify any of the CIs or it matches more than one.
michael roitbur
Regular Collector

Re: create parent-child relation via sd_event

hi ,

I have this CI , serach code
michael roitbur
Regular Collector

Re: create parent-child relation via sd_event

non relevant
//Add this to "OnDomLoad" event