Condition Based Update a Doc with Bulk Command

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Open Search 2.3
Describe the issue:

Can we update Condition Based document with bulk command

Means, I want to update a Status property in my existing document only if status =“processed” other wise skip the Update

Relevant Logs or Screenshots:

The update action in bulk supports script, I think you can define a script in the request body of bulk api, just like the update api:

POST test/_update/1
  "script": {
    "source": "if (ctx._source.status == 'processed' ) { ctx._source.status = 'new' } else { ctx.op = 'noop' }",
    "lang": "painless"