Capgemini / Capgemini/powerapps-specflow-bindings
Verify AutoNumber field
- Dominant language
- C#
- Stars
- 42
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
## Is your feature request related to a problem? Please describe
We would like to validate the format of an auto-number field when a record is created.
## Describe the solution you'd like
A new step binding as followed: `I can see a value with the format '(.*)' in the '(.*)' auto-number (field|header field)` where the format copies those defined by the [Power Platform docs](https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/create-auto-number-attributes?view=op-9-1#autonumberformat-options). This includes:
- static characters - validated by exact match
- `SEQNUM:x` - validated by a minimum of `x` number of numbers
- `RANDSTRING:x` - validated by minimum of `x` number of alphanumerics
- `DATETIMEUTC:dateformat` - validated by date format matching
Contributor guide
Assessment
This issue has not been assessed yet.