Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ref:a_f:a:request_service [2026/08/13 00:43] – removed - external edit (Unknown date) 127.0.0.1ref:a_f:a:request_service [2026/08/13 00:43] (current) – ↷ Page moved from a_f:a:request_service to ref:a_f:a:request_service localdev
Line 1: Line 1:
 +{{tag>Index Action Action_List Process Sevices}}
 +====== REQUEST SERVICE ======
  
 +This action makes it possible to use a service of an intelligent business object. 
 +
 +===== Syntax =====
 +
 +''REQUEST SERVICE'' Id() ''OF'' AttributeIdentifier()[ ''VIA'' ChannelName]
 +
 +where Id() indicates the name of the service and AttributeIdentifier indicates the business object which provides the service. 
 +
 +===== Example =====
 +
 +<code aim>REQUEST SERVICE RegisterProduct OF Awaresoft
 +</code>
 +
 +It is possible to indicate that the service should be run asynchronously – that is, if a system is executing an ordered collection of rules, one of which calls the service asynchronously, the next rule will execute immediately without waiting for the service to finish. To indicate that the service should run asynchronously, add ''NOWAIT'' keyword after the service. For example,
 +<code aim>REQUEST SERVICE RegisterProduct OF Awaresoft NOWAIT </code>
 +
 +
 +The ''VIA'' keyword can be used to indicate specific channel through which the service is requested, for example
 +<code aim>REQUEST SERVICE RegisterProduct OF Awaresoft VIA Sockets </code>
 +
 +If the ''VIA'' keyword is not specified, the default channel of the service provider is used.