S
Santosh Patel
Guest
You should create another object called "Unassigned Task" to mimic "Task" object with a 1:m relationship with Project object. Enable workflow on Unassigned Task and add an action to run an object script trigger that iterates over the project Ids assigned to "Unassigned Task" and creates a new Task record for each of these with the desired data. Use rbv_api.createRecord The flow would be, to create an "Unassigned Task". Fill in the task details and also select the projects that this task would be assigned to. Once created, the workflow action on this record say, "Assign Task", will create a separate "Task" record associated with each of the project. Note: The workflow aspect is to easily render the action in the More Actions menu on the record. You could also create a button that invokes rbf_runTrigger in javascript if you think workflow is an overkill.
Continue reading...
Continue reading...