Time for action – selecting VintageBookstore

Let us now implement the condition regarding the publishing year. Each book, published before 1970, should be automatically delivered to VintageBookstore. To achieve this, we will perform the following steps:

  1. Add a new <if> activity to the BookWarehousingBPEL process:
    Time for action – selecting VintageBookstore
  2. We will write the condition using the year-from-dateTime() XPath function, which returns the publishing year:
    Time for action – selecting VintageBookstore
  3. If the publishing year is lower than 1970, we should prepare the request and invoke the VintageBookstoreBPEL process. Otherwise, we ...

Get WS-BPEL 2.0 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.