Generate Work item by new file uploaded

   2064   3   1
User Avatar
Member
12 posts
Joined: 7月 2013
Offline
Hi,

I need a way to trigger cooking my TOP Graph whenever I have a new file or existing files are modified.
Look like a python program running in the background to watch if any files get updated.

My scenario is if a user uploads a file to DB, then a work_item will be generated and proceed to the next steps.
Please advise if you guys have any solution. Thanks
User Avatar
Member
12 posts
Joined: 7月 2013
Offline
hi folks,
I would describe my case. Are there any solution to create work item based on external condition such as a new file created then TOP automatically generate new work item or an existing file modified then the corresponding work will be dirty and recooked? I mean I dont have to do those things manually,the TOP will detect those changes on db and proceed. Thanks
User Avatar
Member
603 posts
Joined: 9月 2016
Offline
You could run a monitoring script that will kick off a TOP network cook when the file is updated. There is a similar example in the docs:

https://www.sidefx.com/docs/houdini/tops/cooking.html#cookhom [www.sidefx.com]
User Avatar
Member
12 posts
Joined: 7月 2013
Offline
chrisgreb
You could run a monitoring script that will kick off a TOP network cook when the file is updated. There is a similar example in the docs:

https://www.sidefx.com/docs/houdini/tops/cooking.html#cookhom [www.sidefx.com]
Thank Chris,

thank you Chris,
  • Quick Links