Skip to main content
Updated and highlighted the description
Source Link
Sumit Bhatia
  • 5.9k
  • 2
  • 9
  • 25

In my content item, I have a field called "MyField"MyField." Additionally, the workflow comment has its own field called "MyField"MyField." I am wondering if it is feasible to automatically populate the field values in the workflow comment template based on the field value of the content item.

MyWorkflow Draft -Move to Pre Publish(has comment template) Pre Publish -Move to Publish(has comment template) Publish

MyWorkflow
Draft
 -Move to Pre Publish(has comment template)
Pre Publish
 -Move to Publish(has comment template)
Publish

Now, when a user clicks on "Move to Pre Publish"Move to Pre Publish," I want to prefill the value of "MyField""MyField" with the corresponding value from the content item's field.

Is it possible to achieve this? Is there any pipeline I need to patch for this to work?

Thanks

In my content item, I have a field called "MyField." Additionally, the workflow comment has its own field called "MyField." I am wondering if it is feasible to automatically populate the field values in the workflow comment template based on the field value of the content item.

MyWorkflow Draft -Move to Pre Publish(has comment template) Pre Publish -Move to Publish(has comment template) Publish

Now, when a user clicks on "Move to Pre Publish," I want to prefill the value of "MyField" with the corresponding value from the content item's field.

Is it possible to achieve this? Is there any pipeline I need to patch for this to work?

Thanks

In my content item, I have a field called "MyField." Additionally, the workflow comment has its own field called "MyField." I am wondering if it is feasible to automatically populate the field values in the workflow comment template based on the field value of the content item.

MyWorkflow
Draft
 -Move to Pre Publish(has comment template)
Pre Publish
 -Move to Publish(has comment template)
Publish

Now, when a user clicks on "Move to Pre Publish," I want to prefill the value of "MyField" with the corresponding value from the content item's field.

Is it possible to achieve this? Is there any pipeline I need to patch for this to work?

Thanks

Source Link
Shiva
  • 389
  • 3
  • 12

Is it possible to prefill workflow comment template based on value of content item?

In my content item, I have a field called "MyField." Additionally, the workflow comment has its own field called "MyField." I am wondering if it is feasible to automatically populate the field values in the workflow comment template based on the field value of the content item.

MyWorkflow Draft -Move to Pre Publish(has comment template) Pre Publish -Move to Publish(has comment template) Publish

Now, when a user clicks on "Move to Pre Publish," I want to prefill the value of "MyField" with the corresponding value from the content item's field.

Is it possible to achieve this? Is there any pipeline I need to patch for this to work?

Thanks