top of page
Writer's pictureRishi Verma

Identify trigger type SDK Message in a common data service connector for Power Automate

There are scenarios when write common logic for Update/Create scnearios except few blocks of code which we specifially write for create scenarios or update scnerios .


In a Plugin code you handle this using a syntax like :


if (context.MessageName.ToUpper() == “CREATE”){
#do something
}
if (context.MessageName.ToUpper() == “UPDATE”) {
#do something
}

similarly in power automate with the new trigger connector from Common data service (current environment )




now to identify the which type of trigger condition met for a run during runtime use :

triggerOutputs()?['body/SdkMessage']



420 views0 comments

Recent Posts

See All

Bình luận


bottom of page