Skip to main content
15-Moonstone
January 21, 2022
Solved

Trigger Thingworx Flow BEFORE model load

  • January 21, 2022
  • 1 reply
  • 4825 views

Hi, I set up a workflow to gather some data from Windchill PLM. Among these data, it will be the model pvz source for Vuforia Studio experience.

So, I want to trigger a thingworx flow that could update some source data (including the pvz file in the repository connected to the experience) before the model loading. In this way, the shown model can be the last possible version available on the thingworx repository, and consequently on windchill.

Is this possible? How to? 
many thanks.

 

Best answer by GianVal

Finally worked!!!!

i set the converted file in this way

 

 

 let converted_file = 'data:image/pvz;base64,' + args.data[0].Content

 

 

and deleting "&colon" and adding the symbol " : "

Now I'm curious to know why it worked in this way 😄

 

1 reply

16-Pearl
January 21, 2022

will u please elaborate more ?....what exactly you want to achieve?

GianVal15-MoonstoneAuthor
15-Moonstone
January 21, 2022

From windchill, I want to pull some data to the thingworx repository. I know that this is feasible with thingworx flow. Among these data, there is the pvz graphic source for the vuforia experience. I want to trigger the thingworx flow from inside the vuforia experience so that I can update the source files in the thingworx repository (from which the experience takes data) before the model loads. in this way, the loaded model will be built with the last updated version of the pvz file available in the twx repo.

I hope I clarified the use case requirements. many thanks

16-Pearl
January 21, 2022

i really dont know, how the pvz file in vuforia studio automaticatically update from thingworx repository. because as far as i know pvz file is view file once its created. how it will change automatically unless n untill you manually save n upload on thingwox and same for vuforia studio as well. i feels its not possible with above reasons, but latest updates on these softwares i m not aware about.

 

thanks.