Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Guys,
I'm developing a relatively simple interface which does the following
Accepting a JSON, parse it, extract one field (ISO2 country codes) which i need to lookup an ID in another system by given country code, and unite all the information back to do further stuff.
For the lookup part, i've designed a straight forward joblet, which you can see in the screenshot.
If i run the job in Studio as plain job everything works fine.
But if i run the job as an deployed endpoint, the joblet wont't get executed, resulting in a job dead lock....
But even when I resolve the joblet and put it all in one flow, running as data service, it won't trigger the lookup part, while running it as job everything works fine
What do i have to change, so that the lookup part in the joblet will be executed/triggerred when running an endpoint service?
thanks a lot and cheers
Hello,
The connection type OnComponentOK behavior is totally dependent on the predecessor component.
OnSubjobOK and OnComponentOK are trigger links, which can link to another subjob. The main difference between them lies in the execution order of the linked subjob.
For more information, please refer to this official documentation:
Hope it helps.
Best regards
Sabrina
In the meantime i figured out that, if I run the data service job, the subjob for the lookup gets executed once at start immediately, and doesn't wait for the REST call, so to precise my upper question, how can i trigger a subjob/flow or wait until a component says "OK, now it's your turn" .... I did an OnComponentOK, but that doesn't prevent the subjob from being executed once at startup, and not until the needed data is present
Hello,
The connection type OnComponentOK behavior is totally dependent on the predecessor component.
OnSubjobOK and OnComponentOK are trigger links, which can link to another subjob. The main difference between them lies in the execution order of the linked subjob.
For more information, please refer to this official documentation:
Hope it helps.
Best regards
Sabrina
Beside the fact that it doesn't actually solved my initial problem when using a joblet, after refactoring my job combined with the hint you gave me, i now have a working solution...
Thanks Sabrina