I am trying to connect Workfront to an external platform, Wordbee. I have the information successfully going from Workfront into Wordbee. I also have the HTTP Make a Request modules working correctly, however the ID it is generating the request id and not the order id in Wordbee. WordBee takes a few seconds/mins depending on the queue to complete order creation.
My next steps are:
But my question is: Do I need to make a separate scenario for the webhook to listen to Wordbee and pass the information back into Workfront or can I have it all in my current scenario
Solved! Go to Solution.
Views
Replies
Total Likes
I have integrated with Wordbee in the past. What I did when I created the wordbee order was store the operation ID on the triggering object in an "Operation ID" field. Then I had another scenario that periodically looked for objects that had a "Operation ID" field but not an "Order ID" field, and then then would check for order ID's and update those when it got them.
This is less a Fusion question and more a WB question: From their docs
https://wordbee.atlassian.net/wiki/spaces/API2/pages/2092728321/orders+create+POST#RESULTS
CreateOrder responds with the operationID.
WB says "You need to poll the method and wait 2 to 5 seconds in between polls until the status is Finished or Failed"
So there's no callback from WB - you need to keep calling.
That means - you COULD do that in your scenario (a repeater with N = 100 or so) and a Sleep module to pause between requests.
Alternately, have your first scenario store the operationID in a data store, and have your "polling" scenario grab say 10 records, ping WB and process the response.
I have integrated with Wordbee in the past. What I did when I created the wordbee order was store the operation ID on the triggering object in an "Operation ID" field. Then I had another scenario that periodically looked for objects that had a "Operation ID" field but not an "Order ID" field, and then then would check for order ID's and update those when it got them.
Hi Chris - What did you use as your trigger?
Views
Replies
Total Likes
It was just a scheduled run, so it would check for any tasks with an operation ID but not an order ID every X minutes (I think it was 20? but I don't recall), no webhook required.
Views
Replies
Total Likes