The CreatorCon Call for Content is officially open! Get started here.

Actual start date and actual end date should be updated in worknotes in change reque Is it possible?

Tulasiram1
Kilo Guru

Actual start date and actual end date should be updated in worknotes in change reque Is it possible? Whenever actual start date and actual end date is filled then that time should be captured in work notes.

1 ACCEPTED SOLUTION

sushantmalsure
Mega Sage

Well by default any field change on form gets captured on form.

Its just matter of showing the changed fields under activities which can be done in Configure Available fields..

 

sushantmalsure_0-1689243231884.png

From here add desired fields and I think that should be all.

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

View solution in original post

2 REPLIES 2

sushantmalsure
Mega Sage

Well by default any field change on form gets captured on form.

Its just matter of showing the changed fields under activities which can be done in Configure Available fields..

 

sushantmalsure_0-1689243231884.png

From here add desired fields and I think that should be all.

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

OlaN
Giga Sage
Giga Sage

Hi,

Yes this is possible, you can for example create a Business rule that does this.

I'll provide an example below, but must ask why this is needed?

You could just add the fields to the activity formatter, so all changes are captured there.

 

Example below, first image of conditions to run, then the script to write a work-note.

business-rule-when-dates-changes.png

(function executeRule(current, previous /*null when async*/) {

	// write a work note with the information of the changed date
	current.work_notes = 'New dates. Actual start: ' 
						+ current.getValue('work_start') 
						+ ' actual end: ' 
						+ current.getValue('work_end');

})(current, previous);