Hi Henrique,

Great work.

Just few points as my 2 cents

1. I am assuming you are using the js.devexpress js files to build this. As much as I know, it comes with licencing.  You should include that in your post / documentation so nobody gets in trouble without realizing they have been using a licensed library without paying. 

2. Are you pulling the data via sql calls through csp ?? As Eduard said, why csp not rest.  but with csp are you able to provide the login credentials and roles as needed to view this information as this is admin privilege. 

3. Yes, breaking the visual trace is a big problem. We should be able to define break points. I give you example of my own integration.

We get one edi. We sent to 3 operations. That do their thing.

Then we call delegate rule which calls further 4 more processes, who internally call 3-4 more ops and   processes. And this is just a start, it may become more complex as we have more requirements. If i am able to break it somehow, it will be awesome. 

Another option is to change my whole logic. somehow make a new session at some point on every send of delegate (Which I currently am not aware how to do)

@Eduard Lebedyuk may know it.

But as I said, a great work.
 

ReplyCode will take response only from one i think. 

Think of this situation

1. Read a EDI/HL7 File

2. Send to RoutingEngine

3. Router - Has ForceSyncSend as true
a. Transform & Send - Op1
b. Transform & Send - Op2
c. Transform & Send - Op3

and so on.


Should the ops throw an error or should we catch it in the op and send Status = 0 as response?
Where do we handle the response in the routing engine as there is no place for that ?

Ideally if either op1, op2 or op3 fails, it should not move forward.

Hi Eduard,

The query is not a problem as the same query runs fine when we run on sql browser via smp. 

There is one flow with two threads

1. Goes and calls a workflow operation , thus creating the workflow task response etc.

2. Hang (Delay in BPL) for few seconds and then calls the query with session. And this query gives null result. But same query with same parameters runs fine in sql browser.

We are going to open the task request object with the id and persist its values for audit trail / historical data / reporting (it will be a mix of task request / response values + lot of others). As long as we get the TaskRequest ID we are good

May be is there a simple example with just one flow, 2 sequences as explained above? 

On that note, I had one question.

ForceSyncSend is true.

Let's say I have 2 transform & send in one rule. If first transform is successful and sends to first target and that target returns a false in a response status property as 0 - Can we stop all next sends to not do anything depending on the response or should the first target throw an exception instead of sending 0 in a response property. 

What a beautiful piece of work and I can see the amount of effort put into it.

I read 25% of it and then lost track.  Let me ask a few questions to understand where are we going with it.

1. Is it only AI specific or does it imply on our day to day implications as well.

2. Eg for time, we try to store UTC time so everything is generalized but is there any other dimension eg weight, currency, length which has such a standard which is universal for eg there is not UW (Universal Weight ) . We can't even say Universal Kilogram or Pound.  Only with time all speak in hours and seconds but nothing else. so how do we solve it??