Capgemini / Capgemini/powerapps-specflow-bindings

Verify AutoNumber field

Open
#94 1 comment 0 reactions 1 assignee Claimed by @rashish12 View on GitHub
enhancement
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.