Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Delay Trigger until ID is populated.

Hi MS,


I have a flow where by when a new item is created i have a trigger that automatically populates the ID field. I then have another trigger that sends a Teams message to a group to say a new Item has been added. The ID field is being populated using the following expression within the update item Trigger: concat('BG',formatNumber(triggerBody()?['ID'],'000000'))



When the teams message sends the ID does not populate in the message. my guess is that it has not been created yet.


What is the best solution so the teams message is populated with the ID? is there a way to delay the message teams trigger?


Please see screen shot below of the flow.




Super User
Super User

HI @Mamzy 


When it's triggered, the ID is already present. The one you're generating is the Term ID.


Can you please check in the log if the second step has an input and output expected?


If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.


Hi @manuelstgomes,


Thanks for getting back to me.


I am created the TermID based off of the ID and concatenating BG00000 at the beginning of the ID. see below.




I can see from the Log as well that the Term ID is being generated but this then is not present in the team Message. See screen shots below.



The [Getting new ID...] is the default message in the TermID column.


Please advise why the TermID is not being populated with the TermID being generated. And how do i fix this so that it is.









Helpful resources

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,068)