Needed some quick help with Dataweave. For this input properties:
"OrderNumber": "99995105" Create random order number every time, with same length (8). I think we can use random() function for it.
"OrderDate": "2022-09-12T11:55:26.000+00:00". This needs to be unique every time. So use now() function, but the date should be converted to the format above.
"ShipmentNumber": "99995105-00026002-flytekiq". This needs to be unique as well, but in similar format. So we can cut the first number(99995105), and replace it with random number of same length (8)? And then reconstruct the entire ShipmentNumber in original format.
"LineItemNumber": "99995105-0e579bab784639a79423701109-flytekiq" Exact same as #3
Thank you!!
99995105
part of #3 and #4 needs to be randomized?