Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10498

Re: Invoking AfterModify or BeforeSave script when BO called from webservice

$
0
0

Hi Asif,

Thanks for the response.

 

I tried the below code in a BeforeSave absl script (basically to updating the ticket title field if the ticket opened is 10009355.

Then I updated that ticket using the external system (which makes the webservice call).

I was expecting that upon the webservice call, since the BO is being modified, the BeforeSave would kick-in and the title would change to 'Updating - vn'. But I didnt see that happen...the update I made to the ticket did come over though.

 

if (this.ID.content == "10009355") { this.Name.content = "Updating - vn";}

 

Any advise on how to go about troubleshooting the issue...using the debug tool is probably not possible correct - since the action is taking place in the webservice? (Anyway, tried the debug tool and didnt see any activity in debug output window..).

 

Thanks,

Vineet.

 


Viewing all articles
Browse latest Browse all 10498

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>