Prompt Title: Generate Random Number.

Created 1 year ago
Votes 0
Views 172 times
IT
0

Prompt Detail:

I apologize for the error in my previous response. The correct syntax for generating a random number with 5 characters using the "Compose" action in Power Automate is:

less
string(replace(rand(100000),'0',''))

This expression generates a random number between 1 and 99999, removes any leading zeroes, and converts the result to a string with 5 characters.

Again, I apologize for any confusion caused by my previous response. Thank you for bringing the error to my attention.

avatar
Jaroslav
Shared 1 prompt
Created 1 year ago

Leave a Comment