FatFractal customer forums



Author Topic: Linking queued operations (or Transactions)  (Read 604 times)

jai.chandra

  • Newbie
  • *
  • Posts: 16
    • View Profile
Linking queued operations (or Transactions)
« on: February 05, 2015, 09:36:24 PM »
Is there a way to assign dependencies to Queued operations?

Example>
I have two objects - Furniture and Room. Room object has a reference to Furniture Object.

1st operation gets queued (due to network issue) - ff.createObjAtUriOrQueueIfOffline(myStuff, "/Furniture");
   
How to trigger the 2nd operation in case first operation is not completed - ff.createObjAtUriOrQueueIfOffline(myStuff, "/Room");
The 2nd queued operation has a reference to the Object created in the 1st queued operation.

I want to make sure that 2nd queued operation automatically takes the result from first and adds the reference.

 

Copyright © FatFractal customer forums