Skip to content

Update from 7.0 to 8.2.4 SaveAsync fails due to object being IsBusy = true after Rule is hit with Fetch command/UOW #4096

Closed Answered by jhuerta3
jhuerta3 asked this question in Questions
Discussion options

You must be logged in to vote

Hello @rockfordlhotka and @kcabral817 ,

I finally got my code working. This is what I had to do to get it to work and what I found.

    • If im loading a business object properties with data that will execute a business Async rule then the method loading the data on the object must also be Async so that I can call object.WaitForIdle() and it work;
      1.1 - What I notice is that once the first property is loaded with data that kicks off a business rule the object.IsBusy = true.
      1.2 – After loading all the data then call object.WaitForIdle() to set the object.IsBusy = false;
  1. The next thing is I had to set the insert methos and save methods to Sync and not Async.
    2.1 – If I didn’t do this it wo…

Replies: 13 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@jhuerta3
Comment options

@StefanOssendorf
Comment options

Comment options

You must be logged in to vote
2 replies
@jhuerta3
Comment options

@rockfordlhotka
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@StefanOssendorf
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@rockfordlhotka
Comment options

@rockfordlhotka
Comment options

Comment options

You must be logged in to vote
1 reply
@StefanOssendorf
Comment options

Answer selected by jhuerta3
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants