Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Workflow
- -- Item 1
- -- Item 2
- var currentMenu = Menu.getApplicationMenu()
- var items = currentMenu.items
- var workflowItem = items.filter(function findWorkflowMenu(menuItem) {
- return menuItem.label === 'Workflow'
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement