Copy Change UI Action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2017 03:34 PM
Hi,
We have OOB "Copy Change" UI Action on the change form to copy the change record. This is working absolutely fine until all the mandatory fields are getting auto populated if we define them in "com.snc.change_request.copy.attributes".
The issue arrases when there are other mandatory fields on the change form which are not defined in the property. As soon as user clicks on "Copy Change" button fields defined the property are auto populated and the change is not saved as there are many other fields on the form are mandatory.
Once the new record is opened with copied values if the user reload/refresh the form accidentally/intentionally all the content including Change Type is getting cleared. Then Users are just filling all the mandatory fields and submitting the change. In this case Change type is read only filed and the workflow is not getting triggered.
is there a way to overcome the fields to be reset even after user reloads/refresh the screen?
Thanks,
Rewanth

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2017 09:41 PM
hi Rewanth,
Is the 'Change Type' field you wish to reset (when a user fresh/reload the page?
Are there any default value being set for 'Change Type'?
it works on my instance where 'Change Type' had been reset to default value everytime user refresh/reload the page.
hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2017 11:52 PM
Hi,
We don't have a default value. We don't want to default it to any specific type.
Thanks,
Rewanth

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2017 11:59 PM
hi Rewanth,
You mention that "Change Type" is a read only field when user trying to "Copy Change" and then refresh/reload, once reloaded, Change Type become empty where no default value being specify.
Then what will happen when user click "New" Change? Can the user key in/select the Change type?
I assume the only best possible reason for a read only field with no default value is the change risk is calculated base on some rules.
If so, wouldn't the rule calculation will take care of the newly copied/reloaded change?
and why the change type is not a mandatory field? this will prevent the user from copy/refresh/reload from submit an empty change type ticket.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2017 11:56 PM
Hi Rewanthrr,
If the user saves the form then values won't be refreshed or else edit the "Copy Change" UI action which should create and save the new change form created by clicking the "Copy Change" UI action.
Hope this helps.
Regards,
Dhruv Chandan