-
Notifications
You must be signed in to change notification settings - Fork 20
Labels
Description
Good evening! I've implemented flow scanner on both a gitlab pipeline and my local windows machine, and I cannot get the scanner to return a status code of 1 when using the --failon command.
I run the following command:
sf flow:scan --failon error --config "scanner-config.json"
And it returns:
Identified 1 flows to scan... Scan complete
== DML Inside Loop Flow ==
Flow type: AutoLaunchedFlow
ERROR APIVersion
Details: 56
Newer API components may cause older versions of Flows to start behaving incorrectly due to differences in the underlying
mechanics. The Api Version has been available as an attribute on the Flow since API v50.0 and it is recommended to limit
variation and to update them on a regular basis.
ERROR FlowName
Details: The name DML_Inside_Loop_Flow does not meet the regex convention ===58
Readability of a flow is very important. Setting a naming convention for the Flow Name will improve the
findability/searchability and overall consistency. It is recommended to at least provide a domain and a short description of
the actions undertaken in the flow, in example Service_OrderFulfillment.
=== A total of 2 errors have been found in 1 flows.`
But does not seem to throw a status code of 1 - I have tried reducing the loglevel down to warning but still no luck.
