Using business process definitions to manipulate read-only fields

Hi all,

I have a status field that I want to be read-only (so users can't manipulate it) and have the value changed by business process definitions only.  This doesn't seem to be possible.  Business process definitions are denied the ability to manipulate fields if they're read only.  I cannot understand the reason for this.  

Any advice much appreciated.

Regards,

Dave.

Parents
  • Hi ,

    One way you could work around this is have two fields created on the module:

    1. Source field
      1. This field would not be made available on any layouts or be available for mass update or import so that only BPM can make changes to it
    2. Display-only field
      1. This field would have a sugar logic formula that consists only of the variable for the source field (e.g. $source_field)
      2. This field would be added to the layout(s) for your users to see. Sugar Logic fields are natively read-only since they are driven by calculation

    With that setup, you could have BPM make the changes as you see fit and users wouldn't know any difference since the field they see is mirroring the source field value.

    Kind regards,

    Chris

Reply
  • Hi ,

    One way you could work around this is have two fields created on the module:

    1. Source field
      1. This field would not be made available on any layouts or be available for mass update or import so that only BPM can make changes to it
    2. Display-only field
      1. This field would have a sugar logic formula that consists only of the variable for the source field (e.g. $source_field)
      2. This field would be added to the layout(s) for your users to see. Sugar Logic fields are natively read-only since they are driven by calculation

    With that setup, you could have BPM make the changes as you see fit and users wouldn't know any difference since the field they see is mirroring the source field value.

    Kind regards,

    Chris

Children