function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
neshnesh 

Is it possible with workflow rule?

pls help. my custom object is a training .1.When a Training object -  status = 'Pass' , A new  task will be created.
2.Task will be closed by providing a check box in the Training Tab.

sfdcfoxsfdcfox
Please don't double-post.

You can create the task using a workflow rule, but the task can't be closed by the workflow rule when the checkbox is checked; you'd need a trigger for this second update.

If you want the task to be closed when created, you'd need two workflow rules; one that creates an open task when the box isn't checked, the other workflow rule creates a closed task when the box is checked.
apkv1234apkv1234

Achievable but you would require 2 workflow rules to be written.