use the output of one route and run the same route with different mapping

已查看 36 次
跳至第一个未读帖子

shik...@gmail.com

未读,
2021年12月6日 08:23:002021/12/6
收件人 Bots Open Source EDI Translator
Hello, 

the process is supposed to be: 
i write the xml_1 to xml_2 and send it out with http_1
then i should get the response of the http above and write another xml_1 and send it out with the same http_1

I have read the docu about the chained translations, i think this does not belong to the same issue. The point here is: i need to send the second http request immediately as long as i get a response from the first request. Because there are some info could not be edited for the first time and they can only be updated after it's created. 

Do you have an Idea how to do this? 

Regards,
Ke

Henk-Jan Ebbers

未读,
2021年12月6日 17:39:542021/12/6
收件人 bots...@googlegroups.com
try again to explain it. 
(i do not understand)

kind regards
Henk-Jan Ebbers

--
You received this message because you are subscribed to the Google Groups "Bots Open Source EDI Translator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to botsmail+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/botsmail/f7584991-f7e8-499e-bb4d-972096a14ae6n%40googlegroups.com.

Ke SHI

未读,
2021年12月6日 19:32:042021/12/6
收件人 bots...@googlegroups.com
I want to use the output or infomation of outcommunication for the input of the next route, which includes this info. The next Route should be done immediately after the first route was done. Can this explanation help you to understand?

regards,
Ke



-------- Ursprüngliche Nachricht --------
Von: Henk-Jan Ebbers <hjeb...@gmail.com>
Datum: Mo., 6. Dez. 2021, 21:27
An: bots...@googlegroups.com
Betreff: Re: [Bots Open Source EDI Translator] use the output of one route and
run the same route with different mapping
You received this message because you are subscribed to a topic in the Google Groups "Bots Open Source EDI Translator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/botsmail/qgFtGyUvh74/unsubscribe.
To unsubscribe from this group and all its topics, send an email to botsmail+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/botsmail/CAEY1zk8YWv1nVmm2ggW8mQ7kY6SLJ0Nm-Mx9WPAT2C2Ccsgqiw%40mail.gmail.com.

Henk-Jan Ebbers

未读,
2021年12月7日 03:25:472021/12/7
收件人 bots...@googlegroups.com
routes are run in alphabetic sequence.
so route AAAA runs firt; write that output to filesystem.
that AAAB runs after that, and pick up that output on filesystem.


kind regards,
Henk-Jan Ebbers




Ke SHI

未读,
2021年12月7日 03:48:252021/12/7
收件人 bots...@googlegroups.com
I will need the dir monitoring. If a file is in, then the two routs should run...In this situation, maybe I should also watch the first of the output of the route 1 so that the route 2 can barely automatically run, right?

regards,
Ke




-------- Ursprüngliche Nachricht --------
Von: Henk-Jan Ebbers <hjeb...@gmail.com>
Datum: Di., 7. Dez. 2021, 09:25

Henk-Jan Ebbers

未读,
2021年12月7日 04:11:392021/12/7
收件人 bots...@googlegroups.com

Hans

未读,
2021年12月9日 09:27:122021/12/9
收件人 Bots Open Source EDI Translator
You could also queue the 2nd route from the mapping of the first route if something was processed.
os.system("/usr/local/bin/bots-job2queue.py -p200 bots-engine.py route2")

Op dinsdag 7 december 2021 om 10:11:39 UTC+1 schreef hjebbers:
To unsubscribe from this group and stop receiving emails from it, send an email to botsmail+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Bots Open Source EDI Translator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/botsmail/qgFtGyUvh74/unsubscribe.
To unsubscribe from this group and all its topics, send an email to botsmail+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Bots Open Source EDI Translator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to botsmail+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Bots Open Source EDI Translator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/botsmail/qgFtGyUvh74/unsubscribe.
To unsubscribe from this group and all its topics, send an email to botsmail+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Bots Open Source EDI Translator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to botsmail+unsubscribe@googlegroups.com.

Ke SHI

未读,
2021年12月9日 11:11:182021/12/9
收件人 bots...@googlegroups.com
this is also a good idea. But i have achieved this with dir monitoring. Because i need the file to be processed, when it comes. thanks again! 


To unsubscribe from this group and all its topics, send an email to botsmail+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/botsmail/0a8fa6eb-3aa8-4b9c-9971-7f4e02cb83e6n%40googlegroups.com.

回复全部
回复作者
转发
0 个新帖子