Quantcast
Viewing all articles
Browse latest Browse all 2504

_recordContext.TriggerNamedEvent Not triggering the named event (4 Comments)

Topic by Amarinder

Hi Members,

I have developed an add-in which requires  a custom object to be associated to an incident. I want to make sure if thecusom object is empty (no text value in the text box of add-in) then the workflow/script should not move ahead. For this I used the following approach:

 

1. Added the following code in the add-in : _recordContext.TriggerNamedEvent("NoAcceptance");

2. Defined a workspace rule :  if "NoAcceptance" named even fires, then make 'field xx' required.

 

But the above is not working. I checked the add-in code in debug mode and found that code is triggering the above mentioned statement but still the workspace rule is not making the field mandatory.

 

Could you please advise what may be the reason for the same?

 

Thanks,

 

Amarinder Singh





Viewing all articles
Browse latest Browse all 2504

Trending Articles