Service Desk Practitioners Forum
cancel

sd_event change status

SOLVED
Go to solution
Highlighted
Mladen Vukadino
Frequent Contributor.

sd_event change status

Hello,

I need to change status of servicecall and modified date when I sd_event.
what parameters do I have to pass?
8 REPLIES
Vasily Kamenev
Acclaimed Contributor.

Re: sd_event change status

HI
If your status field have name of "Status", then Status=XXXXXXX, where XXXXXX your new status.

Vassili
Ruth Porter
Acclaimed Contributor.

Re: sd_event change status

Hi there,

For sd_event you must have an import mapping and you use whatever name you set in this import mapping. I would recommend using Status than you can just use:

-v Status=value

Note that value must match exactly what you have in the status code.

Modified date will be amended automatically when you update the status.

Hope this helps

Ruth
http://www.teamultra.net
Mladen Vukadino
Frequent Contributor.

Re: sd_event change status

Hello,

Thank you for answers.

I managed to change the status. The frustrating part is to set the time of modification. I need to change time of modification when we get reply from customer.
I mapped field Registration:Modified but nothing changes. Am I using the wrong field?
Mladen Vukadino
Frequent Contributor.

Re: sd_event change status

I just saw your comment Ruth,

no, It doesn't change the modified date
Ruth Porter
Acclaimed Contributor.
Solution

Re: sd_event change status

Hi there,

Registration modified is altered automatically by the system whenver it saves a record - you cannot amend it using sd_event 9or via the client).

May I ask why you want to modify it?

Ruth
http://www.teamultra.net
Saurabh Dubey
Acclaimed Contributor.

Re: sd_event change status

Hi Mladen,

A simpler way to get modification time, is to create a custom field and have it updated with the time.

Hope this helps...

Regards,

Saurabh
Modesty is good!! But remember, all your life other people will try and take your achievements away from you, don't make it easy for them.
Mladen Vukadino
Frequent Contributor.

Re: sd_event change status

Ruth i need it cause i'm checking the modified filed so I can synchronize data with external application if record is modified.

I hope you understood this sentence :)
Mladen Vukadino
Frequent Contributor.

Re: sd_event change status

Ruth was right.
It seems that something was wrong with my mapping.

Thank you all