Why that onsubmit client script is not working in workspace

mania
Tera Contributor

Hi,

 

We have wrote BR and client script for when the before time worked field is updated it should show error message on problem form. Its working fine in problem form but when i checking the workspace (CSM/FSM configurable workspace) it is not working the same functinality. 

I have checked and set that ui type field is All and Isolated script check box is true on client script then also not working.

Can you please suggest me and help me on this, It will be very usefull.
Client script:

mania_0-1711515435980.png

Thanks in Advance!

5 REPLIES 5

Harish KM
Kilo Patron
Kilo Patron

Hi @mania your client script runs on Problem table where as the CSM workspace , are you opening a problem record or case record? if case record then you need another client script on case table

Regards
Harish

mania
Tera Contributor

@Harish KM 

 

I am trying on problem record on CSM/FSM configurable workspace but still I am not able to get any error message as per my requirement and that same functinality is working on normal problem view(default).

 

Can you please suggest, It will be usefull.

 

Thanks!

Mania

Hi @mania can you put a alert in your script in 1st line and see if the script triggers?

also paste the script here

Regards
Harish

Tai Vu
Kilo Patron
Kilo Patron

Hi @mania 

Could you paste your entire script here so we can identify what might be causing the problem?

 

Cheers,

Tai Vu