Service Connect and Data Directives

Will service connect trigger a data directive?
I have SC updating a certain field, but the in-trans directive I have set to watch that field doesn’t seem to fire.
Is this possible? If yes, is there something special I need to do with my workflow?

Hi,

Yes, Service Connect call a business object method, and this call the BPM data directives.

You must be sure that you are using the same method, for example, Update method for service connect is called UpdateEx, then your data directive must be over the same method UpdateEx

Do you have any type of condition on your in-tran directive?

Data Directives are like a SQL Triggers, Data Directive are directly over the table, must be triggered any time you touch this table and the condition is fulfilled

it shoudl trigger automatically, i would suggest to change to a method directive instead if possible is a bit cleaner. if you have no conditions though the data directive should be trigger…

@danbedwards Yes, I have a condition looking for a change on the field InvcHead.AutoPrintReady.
@sprieto30 I’m not sure I can switch it to a method since I use the auto print on the standard directive.

The in-trans looks for the changing of the field and passes it to the standard directive which auto prints a record.
I can see service connect updating the field, but the invoices don’t print.

Could you post your condition or perhaps remove, just as a test? I have seen several instances where the condition is preventing the execution.

1 Like

Well, it turns out it was working. I had it set to AutoPrintPreview thinking that if it worked, it would pop up.
I, for some reason, had assumed that it would come under the system monitor for my user account since I was the one doing it, but when I expanded it, it was processing under the user account I specified in the setup of SC.

Thanks everyone.

1 Like