cancel
Showing results for 
Search instead for 
Did you mean: 

Does standard inbound web service in C4C trigger event? Further checks possible?

floriangu
Participant
0 Kudos

Hello,

we would like consume a standard web service in C4C in order to update existing service tickets from an external 3rd party system.

Before the update is done the current status of the ticket needs to be checked. So an update should be just possible while the ticket is in a certain status. The web service response should then inform the external system if the status update was possible or not.

Is there any way to accomplish this? I was thinking of an action which contains the additional checks. But I am not sure if there is a standard event triggered when an update of a service ticket is done via a web service (and not via the user interface)?

Thank you for your support!

floriangu
Participant
0 Kudos

Hello Horst,

actually I am able to read the current identity now, do you also have a hint how to check if there is a business partner assigned to it?


Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

HorstSchaude
Product and Topic Expert
Product and Topic Expert

Hello Florian,

I would add an Determination to the Service Ticket BO which checks

a) if the current user is a technical user (the CurrentIdentity has no BusinessPartner assigned to) => not an UI change

b) if the req. status is set

If both checks return true, you can perform the changes.

HTH,
. Horst

floriangu
Participant
0 Kudos

Hello Horst,

many thanks for your advice.
Could you also give me a hint how to add a "determination" to the Service Ticket BO? Would this be part of an action?

Thank you.

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Florian,

You need to create an Extension to the Service Ticket BO.
Then you right-click on it and choose "Add Script Files".
Here you can choose where (to which node) and what (determination, validation, ...) you want to add.

HTH,
. Horst

floriangu
Participant
0 Kudos

Hello Horst,

thank you again for your follow-up. When creating a script file I just can add Events, Validations and Action Validations. Is this what you are referring to? I do not see a "determination".

Regards,

Florian

HorstSchaude
Product and Topic Expert
Product and Topic Expert

Hello Florian,

I am sorry. On the UI it is called "Event"
Determination is the technical name.:-)

Sorry,
. Horst

floriangu
Participant
0 Kudos

Thanks for your clarification. Now it's clear for me 🙂

Regards,

Florian

Answers (0)