Quantcast
Channel: Mockaroo Community Forum - Latest posts
Browsing all 2665 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Response is blank but Mockaroo node has the response?

I’m using Salesforce’s Omnistudio Integration Procedure. HTTP Action Properties for Integration Procedures (salesforce.com) Here is an outline of the settings it allows me to set:

View Article


Image may be NSFW.
Clik here to view.

Response is blank but Mockaroo node has the response?

For anyone in the future, I missed a step in this, you have to add a ‘Response’ action and then bind the response to the HTTPAction.

View Article


Adding braces does not generate list

Hello, beginner here to mockaroo. I’m trying to create a list of latitudes. The field name is ‘lat’ and the type is Latitude. To create an array, I replace the field name with ‘lat[5]’. This results...

View Article

Image may be NSFW.
Clik here to view.

Has access to ruby to_a function been disabled

Hi I have a couple of Schemas that are a few years old but previously generating data. I went to modify one of them recently for a new requirement and found that I’m getting this error instead of...

View Article

Has access to ruby to_a function been disabled

It appears you ran into a regression. I’ve deployed a fix so your formula should work again.

View Article


Adding braces does not generate list

Previously the array notation only worked for JSON schemas. But as of this morning it works for all schemas. By default it will output as a json array. If you want just a comma delimited list, you can...

View Article

Response is blank but Mockaroo node has the response?

Cool. Thank you for posting the solution! I’m not familiar with that client so I would never have figured it out.

View Article

Concat previous field with a regular expression

In previous versions of Mockaroo I was able to concat a previous field value with a 9 digit regular expression - e.g. {{messageType}}\d{10} would generate something like 'AB47390846167’ This now...

View Article


Concat previous field with a regular expression

You can prepend the other field with an inline formula: messageType + this

View Article


Has access to ruby to_a function been disabled

Thanks that’s working again now.

View Article

Concat previous field with a regular expression

I’m not following. “this” is the \d{10} in the current field that I’m trying to append. Maybe my question was not clear enough. The field I originally had was defined as regex with \d{10} which...

View Article

How can it get an end_time that depends on the start_time

I have the same question. I’ve tried the following: time(field(“Check-in Time”)) + hours(random(.1,6)) …but I get the following error when I preview: “error: no implicit conversion of...

View Article

Regex for space and other characters not working

I’m having problems generating field value or the regular expression type. I tried using patterns with \s for space characters like this pattern \d{3}\s{1,3}\d{3}, it didn’t recognize \s as a space...

View Article


Include trailing zeroes

Hi, I have a field(s) that have a format of Number ranging from 1000 to 25,000 and includes two (or more) decimal places. Is there a way to always include the trailing zero(s)? Do I need to create a...

View Article

Include trailing zeroes

Can someone confirm that the best/only way to to this is to add a formula to the Number field? i.e. I clicked on the formula button for the number field and added format(this, 2) The trailing zeroes...

View Article


From_dataset() doesn't work with json datasets

Hi Mark @mockaroo, is there any update on this if it is really true? I wasn’t able to get the from_dataset() function to work, even on the simpliest json datasets. Do you think you guys will be able...

View Article

Generate date offset based on another field condition

I am using the following formula if field(“hidden_role”) == ‘Child’ then (now() - days(random(1500, 1800))) else (now() - days(random(15000, 18000))) The intent is if the field hidden role is Child...

View Article


Enlarging existing dataset

I have a relatively small dataset (300 lines, 13 columns) which is missing some data. I would like to complete the missing data and generate more lines. How can I do that?

View Article

Not able to get community search to work

I’m new to Mockaroo, what a great service! Of course I’m trying to figure out how things work and the AI bot help is better than expected. However, when it couldn’t help me with a particular issue I...

View Article

Not able to get community search to work

Well, looks like I’ve answered my own question - it looks like search requires “a bit more” to search on. I was initially searching for “to_a” and search reports “no results found” but if I elaborate...

View Article
Browsing all 2665 articles
Browse latest View live