AppProblemCreateInput Input Type
input AppProblemCreateInput {
message: String!
key: String!
criticalThreshold: PositiveInt
aggregationPeriod: Minute = 60
}
Fields
message
message · String!
The problem message to display. Must be at least 3 characters. Messages longer than 2048 characters will be truncated to 2048 characters with ‘…’ suffix.
key
key · String!
Key identifying the type of problem. App can add multiple problems under the same key, to merge them together or delete them in batch. Must be between 3 and 128 characters.
criticalThreshold
criticalThreshold · PositiveInt
If set, the problem becomes critical when count reaches this value. If sent again with higher value than already counted, problem can be de-escalated.
aggregationPeriod
aggregationPeriod · Minute
Time window in minutes for aggregating problems with the same key. Defaults to 60. If 0, a new problem is always created.
Default: 60.
Used by
Schema: Saleor 3.23.43. Download SDL.