Why arent After Create objects passed automatically?

1
I'm not sure if After Create is intended to not pass a recently created object, can someone care to explain why? Is there any reason as to why it doesn't pass an object the moment after creation?
asked
5 answers
1

Hi David!

 

You should be able to pass an opject as a parameter on the After Create event handler.

 

I see an option to pass the parameter.

 

Am I missing something?

 

Thanks,

Neel

answered
1

Hi David,

Can you please give more details or a screenshot of your microflow? As you mentioned, it is possible to pass an object (whether newly created or not) to a following microflow.

 

Ferhat

answered
1

 

Note: I'm using a restcall to create seDocument

As you can see a simple retrieve works just fine, but the parameter itself always remains empty

 

edit: added Import mapping screenshot

answered
1

Apologies to all, it looks like this was a problem with my Json structure.


JSON structure (couldn't get ACR parameter data)

 

message definition (could get ACR parameter data)

 

Though… I don't see what exactly the difference is between the two.

answered
0

You don’t need to do a retrieve in your After Create microflow. The object you have just created is passed as a parameter to your microflow. You can manipulate that directly.

If you use a retrieve from database action, the object won’t have been committed yet, so you won’t have the correct data.

I hope this helps.

 

answered