{{tag>Function Function_List Miscellaneous Version:v8.6}} ====== CONTEXT_SIZE ====== ===== Description ===== Determines the number of instances of the specified business object currently in Context. Can be useful if one needs to determine the number of objects that user selected in the process that handles multiple selection. ===== Syntax ===== ''CONTEXT_SIZE (object)'' Cannot be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== The name of the object ===== Returns ===== **Number**: the number of instances of the named business object currently in Context ===== Example ===== SessionObj.Total = CONTEXT_SIZE ('ObjName') ===== Related ===== [[ref:a_f:f:af:in_context|IN_CONTEXT]], [[ref:a_f:f:af:list_size|LIST_SIZE]], [[ref:a_f:f:af:search_count|SEARCH_COUNT]]