Azure / Azure/LogicAppsUX

Designer for stateless workflow shows unsupported batch operations

Open
#7,514 1 comment 0 reactions 1 assignee Claimed by @andrew-eldridge View on GitHub
bug
Dominant language
TypeScript
Stars
111
Forks
109
Avg merge
1d 23h
Merged PRs (30d)
20

Description

### Severity

P4 - Low (Cosmetic/minor inconvenience)

### Describe the Bug with repro steps

Expected behavior:
- Actions/triggers not supported in stateless workflows do not show up when searching actions/triggers in the designer

Actual behavior:
- Batch operations ("SendToBatch" action, "Batch" trigger) appear in designer search on stateless workflow. Error is not seen until runtime failure for unsupported stateless action/trigger

Steps to reproduce:
- Create new stateless workflow
- Open designer
- Add trigger > search "batch" > select batch trigger > save workflow
- Run logic app, runtime error occurs

### What type of Logic App Is this happening in?

Standard (VSCode)

### Are you experiencing a regression?

_No response_

### Which operating system are you using?

Windows

### Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

### Workflow JSON

```json
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
"actions": {
"For_each": {
"type": "foreach",
"foreach": "@triggerOutputs()['body']['items']",
"actions": {
"Send_message": {
"type": "ServiceProvider",
"inputs": {
"parameters": {
"entityName": "test",
"message": {
"contentData": "@item()"
}
},
"serviceProviderConfiguration": {
"connectionName": "serviceBus",
"operationId": "sendMessage",
"serviceProviderId": "/serviceProviders/serviceBus"
}
}
}
},
"runAfter": {}
}
},
"outputs": {},
"triggers": {
"Batch_trigger": {
"type": "Batch",
"inputs": {
"mode": "Inline",
"configurations": {
"test-batch": {
"releaseCriteria": {
"messageCount": 3
}
}
}
}
}
}
},
"kind": "Stateless"
}
```

### Screenshots or Videos

![Image](https://github.com/user-attachments/assets/67fe107b-24ab-4fac-911c-4e3e2daf2372)

![Image](https://github.com/user-attachments/assets/68496f62-5372-4da4-b0fc-332e44a62e1f)

### Environment

- VS Code version: 1.100.3
- Extension version: 5.94.22

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.