Skip to Content
0

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

Aug 08, 2017 at 09:42 AM

107

avatar image

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!

10 |10000 characters needed characters left characters exceeded

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.

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Horst Schaude
Aug 08, 2017 at 11:26 AM
1

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

Show 5 Share
10 |10000 characters needed characters left characters exceeded

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.

0

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

0

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

0

Hello Florian,

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

Sorry,
. Horst

1

Thanks for your clarification. Now it's clear for me :)

Regards,

Florian

0