Menu

Post image 1
Post image 2
1 / 2
0

πŸ”€ Implement Item-Level Task Delegation in Joget with BeanShell

DEV Community: javaΒ·ExplorerΒ·3 days ago
#iEpuJI2Y
#dev#activityid#string#contains#null#stmt
Reading 0:00
15s threshold

1. Overview This article shows a Joget BeanShell pattern for item-level task delegation. Instead of reassigning an entire process blindly, the script reads selected delegation rows, updates workflow variables, reassigns the active activity, and writes an audit trail. 2. How It Works Read selected delegation rows from a grid or hidden JSON field. Resolve the current assignee, target user, activity ID, and parent record ID. Update routing variables for the selected activity. Reassign the activity with workflowManager.assignmentReassign(...). Remove extra assignees when the activity currently has multiple users. Insert an audit row so reassignment history is traceable. 3. Where to Use in Joget Workflow Builder: Tool or store binder logic for reassignment forms. Form Builder: item-level delegation screen with a grid of selected activities. Userview: admin-only reassignment pages. 4.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More