@InvocableMethod(label='System.Blob.size()' category='Flowpex System' iconName='slds:custom:custom79' description='Returns the number of characters in the Blob.')
- public static List<Response> System_Blob_size (List<Request> requests) {
+ global static List<Response> System_Blob_size (List<Request> requests) {
List<Response> responses = new List<Response>();
for (Request req : requests) {
Response res = new Response();
return responses;
}
- public class Request {
+ global class Request {
@InvocableVariable(required='true' label='Blob' description='')
- public Blob blobToSize;
+ global Blob blobToSize;
- public Request () {}
- public Request (Blob b) {
+ global Request () {}
+ global Request (Blob b) {
this.blobToSize = b;
}
}
- public class Response {
+ global class Response {
@InvocableVariable(label='Size' description='')
- public Integer sizeOfBlob;
+ global Integer sizeOfBlob;
}
}
\ No newline at end of file
@InvocableMethod(label='System.Blob.toPdf()' category='Flowpex System' iconName='slds:standard:form' description='Creates a binary object out of the given string, encoding it as a PDF file.')
- public static List<Response> System_Blob_toPdf (List<Request> requests) {
+ global static List<Response> System_Blob_toPdf (List<Request> requests) {
List<Response> responses = new List<Response>();
for (Request req : requests) {
Response res = new Response();
return responses;
}
- public class Request {
+ global class Request {
@InvocableVariable(required='true' label='String to PDF' description='')
- public String stringToPdf;
+ global String stringToPdf;
- public Request () {}
- public Request (String s) {
+ global Request () {}
+ global Request (String s) {
this.stringToPdf = s;
}
}
- public class Response {
+ global class Response {
@InvocableVariable(label='PDF' description='')
- public Blob pdfOfString;
+ global Blob pdfOfString;
}
}
\ No newline at end of file
@InvocableMethod(label='System.Blob.toString()' category='Flowpex System' iconName='slds:standard:text' description='Casts the Blob into a String.')
- public static List<Response> System_Blob_toString (List<Request> requests) {
+ global static List<Response> System_Blob_toString (List<Request> requests) {
List<Response> responses = new List<Response>();
for (Request req : requests) {
Response res = new Response();
return responses;
}
- public class Request {
+ global class Request {
@InvocableVariable(required='true' label='Blob' description='')
- public Blob blobToString;
+ global Blob blobToString;
- public Request () {}
- public Request (Blob b) {
+ global Request () {}
+ global Request (Blob b) {
this.blobToString = b;
}
}
- public class Response {
+ global class Response {
@InvocableVariable(label='String' description='')
- public String stringOfBlob;
+ global String stringOfBlob;
}
}
\ No newline at end of file
@InvocableMethod(label='System.Blob.valueOf()' category='Flowpex System' iconName='slds:standard:default' description='Casts the specified String to a Blob.')
- public static List<Response> System_Blob_valueOf (List<Request> requests) {
+ global static List<Response> System_Blob_valueOf (List<Request> requests) {
List<Response> responses = new List<Response>();
for (Request req : requests) {
Response res = new Response();
return responses;
}
- public class Request {
+ global class Request {
@InvocableVariable(required='true' label='String to blob' description='')
- public String stringToBlob;
+ global String stringToBlob;
- public Request () {}
- public Request (String s) {
+ global Request () {}
+ global Request (String s) {
this.stringToBlob = s;
}
}
- public class Response {
+ global class Response {
@InvocableVariable(label='Blob' description='')
- public Blob blobOfString;
+ global Blob blobOfString;
}
}
\ No newline at end of file