How to select approved only in option

I want to select only approved document from option from other table. i have workflow “approved, draft, cancelled and rejected”. So if the document is only approved than only i want to pull on option drop down list,

.

Add this in onload of your Form Script.

frm.set_query('work_plan', function() {
	return {
		filters: {
			status: 'Approved'
		}
	};
})
1 Like

@netchampfaris, thanks