Skip to content

Commit 2e80662

Browse files
Merge pull request wso2#8455 from DilshanSenarath/add-sms-executor
Add SMS OTP executor to the action button’s resource panel
2 parents 84490da + cfb0fa0 commit 2e80662

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.changeset/sixty-shirts-jump.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@wso2is/admin.flow-builder-core.v1": patch
3+
"@wso2is/console": patch
4+
---
5+
6+
add SMS OTP executor to the action button’s resource panel

features/admin.flow-builder-core.v1/data/actions.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,23 @@
4848
}
4949
},
5050
"display": {
51-
"label": "Verify OTP Code",
51+
"label": "Verify Email OTP Code",
5252
"image": "https://www.svgrepo.com/show/479622/email-18.svg",
5353
"defaultVariant": "PRIMARY"
5454
}
55+
},
56+
{
57+
"action": {
58+
"type": "EXECUTOR",
59+
"executor": {
60+
"name": "SMSOTPExecutor"
61+
}
62+
},
63+
"display": {
64+
"label": "Verify SMS OTP Code",
65+
"image": "https://www.svgrepo.com/show/325390/message-text.svg",
66+
"defaultVariant": "PRIMARY"
67+
}
5568
}
5669
]
5770
}

0 commit comments

Comments
 (0)