We have written one rule for bucket items and it gets triggered when an bucket item is created or item is saved. for creating an bucket item we use below code
$updatedItem=New-Item -Path "$parentPath" -Name $Title -ItemType $Template
Now when the item is created , the rule is triggered which is expected. After that I want to trigger the same rule again when the item's fields get updated. I have used below code to update the item fields
$updatedItem.Editing.BeginEdit() $updatedItem.Title=$NewsTitle $updatedItem.DateTime=$NewsDate $updatedItem.Editing.EndEdit()
Now these fields get updated silently in sitecore but the save event is not fired and because of that the rule is not triggered. I also used below code to explicitly trigger the event but that too did not work.
Is there any way where I can trigger the rule from power shell script or trigger the save event.